aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/ImportBundle/Controller/ChromeControllerTest.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/ChromeControllerTest.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/ChromeControllerTest.php')
-rw-r--r--tests/Wallabag/ImportBundle/Controller/ChromeControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Wallabag/ImportBundle/Controller/ChromeControllerTest.php b/tests/Wallabag/ImportBundle/Controller/ChromeControllerTest.php
index cd3e41e9..d3ffbb6d 100644
--- a/tests/Wallabag/ImportBundle/Controller/ChromeControllerTest.php
+++ b/tests/Wallabag/ImportBundle/Controller/ChromeControllerTest.php
@@ -121,7 +121,7 @@ class ChromeControllerTest extends WallabagCoreTestCase
121 $this->assertInstanceOf('Wallabag\CoreBundle\Entity\Entry', $content); 121 $this->assertInstanceOf('Wallabag\CoreBundle\Entity\Entry', $content);
122 $this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for http://www.usinenouvelle.com is ok'); 122 $this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for http://www.usinenouvelle.com is ok');
123 $this->assertNotEmpty($content->getLanguage(), 'Language for http://www.usinenouvelle.com is ok'); 123 $this->assertNotEmpty($content->getLanguage(), 'Language for http://www.usinenouvelle.com is ok');
124 $this->assertSame(1, \count($content->getTags())); 124 $this->assertCount(1, $content->getTags());
125 125
126 $createdAt = $content->getCreatedAt(); 126 $createdAt = $content->getCreatedAt();
127 $this->assertSame('2011', $createdAt->format('Y')); 127 $this->assertSame('2011', $createdAt->format('Y'));