diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-10-09 16:45:09 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-10-09 16:45:12 +0200 |
commit | f40c88eb1fa349aab600f9c1c94364f317fe62dd (patch) | |
tree | 4f57a7b2d5124541c4bc916a38d9dab262737db0 /tests/Wallabag/ImportBundle/Controller/WallabagV2ControllerTest.php | |
parent | ed5e175c200501e2ee115ff5d8cd3f3ea47a1c2f (diff) | |
download | wallabag-f40c88eb1fa349aab600f9c1c94364f317fe62dd.tar.gz wallabag-f40c88eb1fa349aab600f9c1c94364f317fe62dd.tar.zst wallabag-f40c88eb1fa349aab600f9c1c94364f317fe62dd.zip |
Jump to Symfony 3.3 & update others deps
Also update tests urls
Diffstat (limited to 'tests/Wallabag/ImportBundle/Controller/WallabagV2ControllerTest.php')
-rw-r--r-- | tests/Wallabag/ImportBundle/Controller/WallabagV2ControllerTest.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Wallabag/ImportBundle/Controller/WallabagV2ControllerTest.php b/tests/Wallabag/ImportBundle/Controller/WallabagV2ControllerTest.php index a94adcaf..e52b9c85 100644 --- a/tests/Wallabag/ImportBundle/Controller/WallabagV2ControllerTest.php +++ b/tests/Wallabag/ImportBundle/Controller/WallabagV2ControllerTest.php | |||
@@ -119,6 +119,8 @@ class WallabagV2ControllerTest extends WallabagCoreTestCase | |||
119 | $this->getLoggedInUserId() | 119 | $this->getLoggedInUserId() |
120 | ); | 120 | ); |
121 | 121 | ||
122 | $this->assertInstanceOf('Wallabag\CoreBundle\Entity\Entry', $content); | ||
123 | |||
122 | // empty because it wasn't re-imported | 124 | // empty because it wasn't re-imported |
123 | $this->assertEmpty($content->getMimetype(), 'Mimetype for http://www.liberation.fr is empty'); | 125 | $this->assertEmpty($content->getMimetype(), 'Mimetype for http://www.liberation.fr is empty'); |
124 | $this->assertEmpty($content->getPreviewPicture(), 'Preview picture for http://www.liberation.fr is empty'); | 126 | $this->assertEmpty($content->getPreviewPicture(), 'Preview picture for http://www.liberation.fr is empty'); |
@@ -136,6 +138,7 @@ class WallabagV2ControllerTest extends WallabagCoreTestCase | |||
136 | $this->getLoggedInUserId() | 138 | $this->getLoggedInUserId() |
137 | ); | 139 | ); |
138 | 140 | ||
141 | $this->assertInstanceOf('Wallabag\CoreBundle\Entity\Entry', $content); | ||
139 | $this->assertNotEmpty($content->getMimetype(), 'Mimetype for https://www.mediapart.fr is ok'); | 142 | $this->assertNotEmpty($content->getMimetype(), 'Mimetype for https://www.mediapart.fr is ok'); |
140 | $this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for https://www.mediapart.fr is ok'); | 143 | $this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for https://www.mediapart.fr is ok'); |
141 | $this->assertNotEmpty($content->getLanguage(), 'Language for https://www.mediapart.fr is ok'); | 144 | $this->assertNotEmpty($content->getLanguage(), 'Language for https://www.mediapart.fr is ok'); |