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/PinboardControllerTest.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/PinboardControllerTest.php')
-rw-r--r-- | tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php b/tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php index 9bb59766..1135f32e 100644 --- a/tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php +++ b/tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php | |||
@@ -118,6 +118,7 @@ class PinboardControllerTest extends WallabagCoreTestCase | |||
118 | $this->assertGreaterThan(1, $body = $crawler->filter('body')->extract(['_text'])); | 118 | $this->assertGreaterThan(1, $body = $crawler->filter('body')->extract(['_text'])); |
119 | $this->assertContains('flashes.import.notice.summary', $body[0]); | 119 | $this->assertContains('flashes.import.notice.summary', $body[0]); |
120 | 120 | ||
121 | $this->assertInstanceOf('Wallabag\CoreBundle\Entity\Entry', $content); | ||
121 | $this->assertNotEmpty($content->getMimetype(), 'Mimetype for https://ma.ttias.be is ok'); | 122 | $this->assertNotEmpty($content->getMimetype(), 'Mimetype for https://ma.ttias.be is ok'); |
122 | $this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for https://ma.ttias.be is ok'); | 123 | $this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for https://ma.ttias.be is ok'); |
123 | $this->assertNotEmpty($content->getLanguage(), 'Language for https://ma.ttias.be is ok'); | 124 | $this->assertNotEmpty($content->getLanguage(), 'Language for https://ma.ttias.be is ok'); |
@@ -161,6 +162,7 @@ class PinboardControllerTest extends WallabagCoreTestCase | |||
161 | $this->getLoggedInUserId() | 162 | $this->getLoggedInUserId() |
162 | ); | 163 | ); |
163 | 164 | ||
165 | $this->assertInstanceOf('Wallabag\CoreBundle\Entity\Entry', $content1); | ||
164 | $this->assertTrue($content1->isArchived()); | 166 | $this->assertTrue($content1->isArchived()); |
165 | 167 | ||
166 | $content2 = $client->getContainer() | 168 | $content2 = $client->getContainer() |
@@ -171,6 +173,7 @@ class PinboardControllerTest extends WallabagCoreTestCase | |||
171 | $this->getLoggedInUserId() | 173 | $this->getLoggedInUserId() |
172 | ); | 174 | ); |
173 | 175 | ||
176 | $this->assertInstanceOf('Wallabag\CoreBundle\Entity\Entry', $content2); | ||
174 | $this->assertTrue($content2->isArchived()); | 177 | $this->assertTrue($content2->isArchived()); |
175 | 178 | ||
176 | $this->assertGreaterThan(1, $body = $crawler->filter('body')->extract(['_text'])); | 179 | $this->assertGreaterThan(1, $body = $crawler->filter('body')->extract(['_text'])); |