From 3abb61bbd3efb2f09433360c7c54cf205c61aebc Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Fri, 23 May 2014 16:12:41 +0200 Subject: [PATCH] Fix tests --- tests/Alchemy/Tests/Phrasea/Controller/Root/LoginTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Root/LoginTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Root/LoginTest.php index 0a0edb3d90..1f99f6be06 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Root/LoginTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Root/LoginTest.php @@ -576,7 +576,7 @@ class LoginTest extends \PhraseanetWebTestCaseAuthenticatedAbstract $crawler = self::$DI['client']->request('POST', '/login/register-classic/'); $this->assertFalse(self::$DI['client']->getResponse()->isRedirect()); - $this->assertFormOrFlashError($crawler, self::$DI['app']['phraseanet.registry']->get('GV_autoselectDB') ? 7 : 8); + $this->assertFormOrFlashError($crawler, self::$DI['app']['phraseanet.registry']->get('GV_autoselectDB') ? 8 : 9); } public function provideInvalidRegistrationData()