This commit is contained in:
Romain Neutron
2013-05-03 01:42:26 +02:00
parent bb995bf324
commit 58df66b68b

View File

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