Fix tests

This commit is contained in:
Nicolas Le Goff
2014-05-23 16:12:41 +02:00
parent 5563c34b8c
commit 3abb61bbd3

View File

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