PHRAS-1974_rgpd-remove-unactive-users

fix : fix test
This commit is contained in:
jygaulier
2021-08-05 09:37:52 +02:00
parent b132a6109b
commit b746b5a64d

View File

@@ -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();