mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 22:43:19 +00:00
PHRAS-1974_rgpd-remove-unactive-users
fix : fix test
This commit is contained in:
@@ -56,7 +56,9 @@ class AuthenticatorTest extends \PhraseanetTestCase
|
||||
$capturedSession = null;
|
||||
|
||||
$app['browser'] = $browser = $this->getBrowserMock();
|
||||
$app['session'] = $session = $this->getSessionMock();
|
||||
$app['session'] = $session = $this->getSessionMock()
|
||||
->method('getCreated')
|
||||
->will($this->returnvalue(new DateTime()));
|
||||
$app['orm.em'] = $em = $this->createEntityManagerMock();
|
||||
|
||||
$user = $this->createUserMock();
|
||||
|
Reference in New Issue
Block a user