Browse Source

Fix tests

Mark Scherer 10 years ago
parent
commit
975c553da9
1 changed files with 3 additions and 3 deletions
  1. 3 3
      tests/TestCase/View/Helper/TimeHelperTest.php

+ 3 - 3
tests/TestCase/View/Helper/TimeHelperTest.php

@@ -39,13 +39,13 @@ class TimeHelperTest extends TestCase {
 		$this->assertTrue($res >= 3 && $res <= 5);
 
 		$res = $this->Time->userAge('2023-01-01');
-		$this->assertSame('---', $res);
+		$this->assertSame('', $res);
 
 		$res = $this->Time->userAge('1903-01-01');
-		$this->assertSame('---', $res);
+		$this->assertSame('', $res);
 
 		$res = $this->Time->userAge('1901-01-01');
-		$this->assertSame('---', $res);
+		$this->assertSame('', $res);
 	}
 
 	/**