aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2019-01-18 15:56:39 +0100
committerGitHub <noreply@github.com>2019-01-18 15:56:39 +0100
commit6bfbf16eeb0004fcac6d2d2507e3d7d8b4dc3c1f (patch)
treeb4f38bf4a01580f5f7218440e7054688d7178e53 /tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php
parent8445ad4790ff4f3f9759f9bfa0d503ad5654e30e (diff)
parent1e0d8ad7b728f6fb2cd886526b0fb84ef803e84f (diff)
downloadwallabag-6bfbf16eeb0004fcac6d2d2507e3d7d8b4dc3c1f.tar.gz
wallabag-6bfbf16eeb0004fcac6d2d2507e3d7d8b4dc3c1f.tar.zst
wallabag-6bfbf16eeb0004fcac6d2d2507e3d7d8b4dc3c1f.zip
Merge pull request #3859 from wallabag/phpstan
Enable PHPStan
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 80819f45..15646d55 100644
--- a/tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php
+++ b/tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php
@@ -127,7 +127,7 @@ class PinboardControllerTest extends WallabagCoreTestCase
127 $this->assertContains('foot', $tags, 'It includes the "foot" tag'); 127 $this->assertContains('foot', $tags, 'It includes the "foot" tag');
128 $this->assertContains('varnish', $tags, 'It includes the "varnish" tag'); 128 $this->assertContains('varnish', $tags, 'It includes the "varnish" tag');
129 $this->assertContains('php', $tags, 'It includes the "php" tag'); 129 $this->assertContains('php', $tags, 'It includes the "php" tag');
130 $this->assertSame(3, \count($tags)); 130 $this->assertCount(3, $tags);
131 131
132 $this->assertInstanceOf(\DateTime::class, $content->getCreatedAt()); 132 $this->assertInstanceOf(\DateTime::class, $content->getCreatedAt());
133 $this->assertSame('2016-10-26', $content->getCreatedAt()->format('Y-m-d')); 133 $this->assertSame('2016-10-26', $content->getCreatedAt()->format('Y-m-d'));