aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/ImportBundle/Controller/ChromeControllerTest.php
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2018-09-05 16:38:20 +0000
committerGitHub <noreply@github.com>2018-09-05 16:38:20 +0000
commitada5d5b2694ec95c6ca84aa91f22add1973343e0 (patch)
treedf0b695eb99e96dc55b63b27a404080c23421639 /tests/Wallabag/ImportBundle/Controller/ChromeControllerTest.php
parent685a5d745e2b723a09111d7d31157cced67ea9b4 (diff)
parent2a1ceb67b4400f46f4d3067e887ff54aa906f0a2 (diff)
downloadwallabag-ada5d5b2694ec95c6ca84aa91f22add1973343e0.tar.gz
wallabag-ada5d5b2694ec95c6ca84aa91f22add1973343e0.tar.zst
wallabag-ada5d5b2694ec95c6ca84aa91f22add1973343e0.zip
Merge pull request #3716 from wallabag/csfixer
php-cs-fixer: native_function_invocation
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 ddb7a65a..cd3e41e9 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->assertSame(1, \count($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'));