Browse Source

Fixing more time related tests

Jose Lorenzo Rodriguez 11 years ago
parent
commit
4413c8d8a7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/TestCase/View/Helper/TimeHelperTest.php

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

@@ -59,7 +59,7 @@ class TimeHelperTest extends TestCase {
 				'title' => $timestamp,
 				'class' => 'time-ago-in-words'
 			),
-			'on ' . date('j/n/y', $timestamp),
+			'on ' . date('n/j/y', $timestamp),
 			'/span'
 		);
 		$this->assertHtml($expected, $result);
@@ -77,7 +77,7 @@ class TimeHelperTest extends TestCase {
 				'class' => 'time-ago-in-words',
 				'rel' => 'test'
 			),
-			'on ' . date('j/n/y', $timestamp),
+			'on ' . date('n/j/y', $timestamp),
 			'/span'
 		);
 		$this->assertHtml($expected, $result);