aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-11-06 09:58:07 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-11-06 09:58:07 +0100
commite92fbdc85274587e67e09ab8169247244f5e4dac (patch)
treeadce5e1cfc1ac31719901f4fe8fecbef941d2953 /tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php
parent9ab024b4f5388e2a41c50a8a2b79e4033788782a (diff)
downloadwallabag-e92fbdc85274587e67e09ab8169247244f5e4dac.tar.gz
wallabag-e92fbdc85274587e67e09ab8169247244f5e4dac.tar.zst
wallabag-e92fbdc85274587e67e09ab8169247244f5e4dac.zip
Fix tests
Diffstat (limited to 'tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php')
-rw-r--r--tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php b/tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php
index 84e47b72..cd7f569b 100644
--- a/tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php
+++ b/tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php
@@ -121,7 +121,7 @@ class PinboardControllerTest extends WallabagCoreTestCase
121 $this->assertNotEmpty($content->getMimetype()); 121 $this->assertNotEmpty($content->getMimetype());
122 $this->assertNotEmpty($content->getPreviewPicture()); 122 $this->assertNotEmpty($content->getPreviewPicture());
123 $this->assertNotEmpty($content->getLanguage()); 123 $this->assertNotEmpty($content->getLanguage());
124 $this->assertEquals(0, count($content->getTags())); 124 $this->assertEquals(2, count($content->getTags()));
125 $this->assertInstanceOf(\DateTime::class, $content->getCreatedAt()); 125 $this->assertInstanceOf(\DateTime::class, $content->getCreatedAt());
126 $this->assertEquals('2016-10-26', $content->getCreatedAt()->format('Y-m-d')); 126 $this->assertEquals('2016-10-26', $content->getCreatedAt()->format('Y-m-d'));
127 } 127 }