diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2017-10-11 09:55:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-11 09:55:03 +0200 |
commit | d8dc7372ab3d8ac4c5d5546e5c5e00bf4bf2d862 (patch) | |
tree | 3f7ea5ce149b98d01a32f45c2d5be43fbf8ea21c /tests/Wallabag/ImportBundle/Controller/ChromeControllerTest.php | |
parent | 21bdbb2d5e8ef1a93a51bc6d55e041f95820b4ba (diff) | |
parent | f645d371ce55e9c2a45712df34244318742b0d74 (diff) | |
download | wallabag-d8dc7372ab3d8ac4c5d5546e5c5e00bf4bf2d862.tar.gz wallabag-d8dc7372ab3d8ac4c5d5546e5c5e00bf4bf2d862.tar.zst wallabag-d8dc7372ab3d8ac4c5d5546e5c5e00bf4bf2d862.zip |
Merge pull request #3376 from wallabag/symfony-3.3
Symfony 3.3
Diffstat (limited to 'tests/Wallabag/ImportBundle/Controller/ChromeControllerTest.php')
-rw-r--r-- | tests/Wallabag/ImportBundle/Controller/ChromeControllerTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Wallabag/ImportBundle/Controller/ChromeControllerTest.php b/tests/Wallabag/ImportBundle/Controller/ChromeControllerTest.php index 3873ccf4..ddb7a65a 100644 --- a/tests/Wallabag/ImportBundle/Controller/ChromeControllerTest.php +++ b/tests/Wallabag/ImportBundle/Controller/ChromeControllerTest.php | |||
@@ -114,10 +114,11 @@ class ChromeControllerTest extends WallabagCoreTestCase | |||
114 | ->get('doctrine.orm.entity_manager') | 114 | ->get('doctrine.orm.entity_manager') |
115 | ->getRepository('WallabagCoreBundle:Entry') | 115 | ->getRepository('WallabagCoreBundle:Entry') |
116 | ->findByUrlAndUserId( | 116 | ->findByUrlAndUserId( |
117 | 'http://www.usinenouvelle.com/article/la-multiplication-des-chefs-de-projet-est-une-catastrophe-manageriale-majeure-affirme-le-sociologue-francois-dupuy.N307730', | 117 | 'https://www.usinenouvelle.com/article/la-multiplication-des-chefs-de-projet-est-une-catastrophe-manageriale-majeure-affirme-le-sociologue-francois-dupuy.N307730', |
118 | $this->getLoggedInUserId() | 118 | $this->getLoggedInUserId() |
119 | ); | 119 | ); |
120 | 120 | ||
121 | $this->assertInstanceOf('Wallabag\CoreBundle\Entity\Entry', $content); | ||
121 | $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'); |
122 | $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'); |
123 | $this->assertSame(1, count($content->getTags())); | 124 | $this->assertSame(1, count($content->getTags())); |