aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tests/front/controller/DailyControllerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/front/controller/DailyControllerTest.php b/tests/front/controller/DailyControllerTest.php
index 72a0339f..88ec116b 100644
--- a/tests/front/controller/DailyControllerTest.php
+++ b/tests/front/controller/DailyControllerTest.php
@@ -419,7 +419,7 @@ class DailyControllerTest extends TestCase
419 $day = $assignedVariables['days'][$dates[0]->format('Ymd')]; 419 $day = $assignedVariables['days'][$dates[0]->format('Ymd')];
420 420
421 static::assertEquals($dates[0], $day['date']); 421 static::assertEquals($dates[0], $day['date']);
422 static::assertSame($dates[0]->format(\DateTimeInterface::RSS), $day['date_rss']); 422 static::assertSame($dates[0]->format(\DateTime::RSS), $day['date_rss']);
423 static::assertSame(format_date($dates[0], false), $day['date_human']); 423 static::assertSame(format_date($dates[0], false), $day['date_human']);
424 static::assertSame('http://shaarli/daily?day='. $dates[0]->format('Ymd'), $day['absolute_url']); 424 static::assertSame('http://shaarli/daily?day='. $dates[0]->format('Ymd'), $day['absolute_url']);
425 static::assertCount(1, $day['links']); 425 static::assertCount(1, $day['links']);
@@ -430,7 +430,7 @@ class DailyControllerTest extends TestCase
430 $day = $assignedVariables['days'][$dates[1]->format('Ymd')]; 430 $day = $assignedVariables['days'][$dates[1]->format('Ymd')];
431 431
432 static::assertEquals($dates[1], $day['date']); 432 static::assertEquals($dates[1], $day['date']);
433 static::assertSame($dates[1]->format(\DateTimeInterface::RSS), $day['date_rss']); 433 static::assertSame($dates[1]->format(\DateTime::RSS), $day['date_rss']);
434 static::assertSame(format_date($dates[1], false), $day['date_human']); 434 static::assertSame(format_date($dates[1], false), $day['date_human']);
435 static::assertSame('http://shaarli/daily?day='. $dates[1]->format('Ymd'), $day['absolute_url']); 435 static::assertSame('http://shaarli/daily?day='. $dates[1]->format('Ymd'), $day['absolute_url']);
436 static::assertCount(2, $day['links']); 436 static::assertCount(2, $day['links']);