mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Fix unit tests
This commit is contained in:
@@ -106,9 +106,7 @@ class SetupTest extends \PhraseanetWebTestCase
|
||||
->disableOriginalConstructor()
|
||||
->getMock();
|
||||
|
||||
$user = $this->getMockBuilder('Alchemy\Phrasea\Model\Entities\User')
|
||||
->disableOriginalConstructor()
|
||||
->getMock();
|
||||
$user = $this->createUserMock();
|
||||
|
||||
$user->expects($this->once())
|
||||
->method('getId')
|
||||
|
||||
Reference in New Issue
Block a user