diff --git a/tests/Alchemy/Tests/Phrasea/Form/Constraint/NewEmailTest.php b/tests/Alchemy/Tests/Phrasea/Form/Constraint/NewEmailTest.php index e721a868aa..9cbab7bbc4 100644 --- a/tests/Alchemy/Tests/Phrasea/Form/Constraint/NewEmailTest.php +++ b/tests/Alchemy/Tests/Phrasea/Form/Constraint/NewEmailTest.php @@ -21,7 +21,7 @@ class NewEmailTest extends \PhraseanetPHPUnitAbstract public function testNullIsNotAlreadyRegistered() { $constraint = new NewEmail(self::$DI['app']); - $this->assertFalse($constraint->isAlreadyRegistered('null')); + $this->assertFalse($constraint->isAlreadyRegistered(null)); } public function testBlankIsNotAlreadyRegistered()