diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-10-16 12:04:46 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-10-16 12:04:46 +0200 |
commit | 4b3aca66238f4ec31ab67c990fd388738e959289 (patch) | |
tree | 0518028680da108dba684d37605130ffe036de1b /tests | |
parent | ec457491879893c8cfcc9dd6542d1593aa5c91f5 (diff) | |
download | Shaarli-4b3aca66238f4ec31ab67c990fd388738e959289.tar.gz Shaarli-4b3aca66238f4ec31ab67c990fd388738e959289.tar.zst Shaarli-4b3aca66238f4ec31ab67c990fd388738e959289.zip |
Strict types: fix an issue in daily where the date could be an int
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bookmark/BookmarkFileServiceTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bookmark/BookmarkFileServiceTest.php b/tests/bookmark/BookmarkFileServiceTest.php index 59c0608c..42485c99 100644 --- a/tests/bookmark/BookmarkFileServiceTest.php +++ b/tests/bookmark/BookmarkFileServiceTest.php | |||
@@ -690,12 +690,12 @@ class BookmarkFileServiceTest extends TestCase | |||
690 | */ | 690 | */ |
691 | public function testDays() | 691 | public function testDays() |
692 | { | 692 | { |
693 | $this->assertEquals( | 693 | $this->assertSame( |
694 | ['20100309', '20100310', '20121206', '20121207', '20130614', '20150310'], | 694 | ['20100309', '20100310', '20121206', '20121207', '20130614', '20150310'], |
695 | $this->publicLinkDB->days() | 695 | $this->publicLinkDB->days() |
696 | ); | 696 | ); |
697 | 697 | ||
698 | $this->assertEquals( | 698 | $this->assertSame( |
699 | ['20100309', '20100310', '20121206', '20121207', '20130614', '20141125', '20150310'], | 699 | ['20100309', '20100310', '20121206', '20121207', '20130614', '20141125', '20150310'], |
700 | $this->privateLinkDB->days() | 700 | $this->privateLinkDB->days() |
701 | ); | 701 | ); |