diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2019-11-14 15:19:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-14 15:19:18 +0100 |
commit | 98d8e0c1b929a198da0fbcbffbc011e985b5df01 (patch) | |
tree | d7278a13dce4e6dcb253f124420e93ad5069df5e /tests/Wallabag | |
parent | 8d8d6818fb6b6bc2f4140285a2a53c74e38bc010 (diff) | |
parent | 4a31f3b6a22b29bee5295aa3099fff79d137a00c (diff) | |
download | wallabag-98d8e0c1b929a198da0fbcbffbc011e985b5df01.tar.gz wallabag-98d8e0c1b929a198da0fbcbffbc011e985b5df01.tar.zst wallabag-98d8e0c1b929a198da0fbcbffbc011e985b5df01.zip |
Merge pull request #4183 from wallabag/update-deps
Update deps
Diffstat (limited to 'tests/Wallabag')
-rw-r--r-- | tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php | 4 | ||||
-rw-r--r-- | tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php index a8ab53da..3a8f92e7 100644 --- a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php +++ b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php | |||
@@ -199,8 +199,8 @@ class EntryControllerTest extends WallabagCoreTestCase | |||
199 | $authors = $content->getPublishedBy(); | 199 | $authors = $content->getPublishedBy(); |
200 | $this->assertSame('2017-04-05 19:26:13', $content->getPublishedAt()->format('Y-m-d H:i:s')); | 200 | $this->assertSame('2017-04-05 19:26:13', $content->getPublishedAt()->format('Y-m-d H:i:s')); |
201 | $this->assertSame('fr', $content->getLanguage()); | 201 | $this->assertSame('fr', $content->getLanguage()); |
202 | $this->assertSame('Raphaël Balenieri, correspondant à Pékin', $authors[0]); | 202 | $this->assertSame('Raphaël Balenieri', $authors[0]); |
203 | $this->assertSame('Frédéric Autran, correspondant à New York', $authors[1]); | 203 | $this->assertSame('Frédéric Autran', $authors[1]); |
204 | } | 204 | } |
205 | 205 | ||
206 | public function testPostNewOkUrlExist() | 206 | public function testPostNewOkUrlExist() |
diff --git a/tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php b/tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php index 15646d55..90192278 100644 --- a/tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php +++ b/tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php | |||
@@ -121,7 +121,6 @@ class PinboardControllerTest extends WallabagCoreTestCase | |||
121 | $this->assertInstanceOf('Wallabag\CoreBundle\Entity\Entry', $content); | 121 | $this->assertInstanceOf('Wallabag\CoreBundle\Entity\Entry', $content); |
122 | $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'); |
123 | $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'); |
124 | $this->assertNotEmpty($content->getLanguage(), 'Language for https://ma.ttias.be is ok'); | ||
125 | 124 | ||
126 | $tags = $content->getTags(); | 125 | $tags = $content->getTags(); |
127 | $this->assertContains('foot', $tags, 'It includes the "foot" tag'); | 126 | $this->assertContains('foot', $tags, 'It includes the "foot" tag'); |