Fix #1555 : API sessions remains open

This commit is contained in:
Romain Neutron
2013-10-31 13:09:56 +01:00
parent 36f7b24f26
commit 24a6dce598
21 changed files with 130 additions and 95 deletions

View File

@@ -19,7 +19,7 @@ class FirewallTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
*/
public function testRequiredAuthNotAuthenticated()
{
self::$DI['app']['authentication']->closeAccount();
$this->logout(self::$DI['app']);
self::$DI['app']['firewall']->requireAuthentication(self::$DI['app']);
}
}