diff --git a/cake/tests/cases/libs/validation.test.php b/cake/tests/cases/libs/validation.test.php index c8c4c145cb4..310b7a8ae3a 100644 --- a/cake/tests/cases/libs/validation.test.php +++ b/cake/tests/cases/libs/validation.test.php @@ -83,7 +83,7 @@ function testNotEmpty() { $this->assertTrue(Validation::notEmpty('π')); $this->assertFalse(Validation::notEmpty("\t ")); $this->assertFalse(Validation::notEmpty("")); - + } /** * testNotEmptyISO88591Encoding method @@ -1514,6 +1514,7 @@ function testEmail() { $this->assertTrue(Validation::email('abc@g.cn')); $this->assertTrue(Validation::email('abc@x.com')); $this->assertTrue(Validation::email('henrik@sbcglobal.net')); + $this->assertTrue(Validation::email('sani@sbcglobal.net')); // all ICANN TLDs $this->assertTrue(Validation::email('abc@example.aero')); @@ -1974,4 +1975,4 @@ function testUserDefined() { // $this->assertTrue(Validation::file(TEST_CAKE_CORE_INCLUDE_PATH. 'VERSION.txt')); // } } -?> \ No newline at end of file +?>