diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2018-07-05 13:37:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-05 13:37:28 +0000 |
commit | 200392b462183982d6636819d549003225c5de7f (patch) | |
tree | a398b5361ae068c486909220c07c268bdc3e38f4 /tests/Wallabag/ImportBundle/Controller/FirefoxControllerTest.php | |
parent | 18167b9a249b679e1226f04c0f05a7489b90d4f7 (diff) | |
parent | 9c48053b1493871715d88f84120303cc56c80a4c (diff) | |
download | wallabag-200392b462183982d6636819d549003225c5de7f.tar.gz wallabag-200392b462183982d6636819d549003225c5de7f.tar.zst wallabag-200392b462183982d6636819d549003225c5de7f.zip |
Merge pull request #3685 from wallabag/fix-random-failing-test
Replace SO url by lemonde.fr to avoid random failing test
Diffstat (limited to 'tests/Wallabag/ImportBundle/Controller/FirefoxControllerTest.php')
-rw-r--r-- | tests/Wallabag/ImportBundle/Controller/FirefoxControllerTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Wallabag/ImportBundle/Controller/FirefoxControllerTest.php b/tests/Wallabag/ImportBundle/Controller/FirefoxControllerTest.php index dc9d9a8f..fc02c813 100644 --- a/tests/Wallabag/ImportBundle/Controller/FirefoxControllerTest.php +++ b/tests/Wallabag/ImportBundle/Controller/FirefoxControllerTest.php | |||
@@ -128,14 +128,14 @@ class FirefoxControllerTest extends WallabagCoreTestCase | |||
128 | ->get('doctrine.orm.entity_manager') | 128 | ->get('doctrine.orm.entity_manager') |
129 | ->getRepository('WallabagCoreBundle:Entry') | 129 | ->getRepository('WallabagCoreBundle:Entry') |
130 | ->findByUrlAndUserId( | 130 | ->findByUrlAndUserId( |
131 | 'https://stackoverflow.com/questions/15017163/parser-for-exported-bookmarks-html-file-of-google-chrome-and-mozilla-in-java', | 131 | 'https://www.lemonde.fr/disparitions/article/2018/07/05/le-journaliste-et-cineaste-claude-lanzmann-est-mort_5326313_3382.html', |
132 | $this->getLoggedInUserId() | 132 | $this->getLoggedInUserId() |
133 | ); | 133 | ); |
134 | 134 | ||
135 | $this->assertInstanceOf('Wallabag\CoreBundle\Entity\Entry', $content); | 135 | $this->assertInstanceOf('Wallabag\CoreBundle\Entity\Entry', $content); |
136 | $this->assertNotEmpty($content->getMimetype(), 'Mimetype for https://stackoverflow.com is ok'); | 136 | $this->assertNotEmpty($content->getMimetype(), 'Mimetype for https://www.lemonde.fr is ok'); |
137 | $this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for https://stackoverflow.com is ok'); | 137 | $this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for https://www.lemonde.fr is ok'); |
138 | $this->assertEmpty($content->getLanguage(), 'Language for https://stackoverflow.com is ok'); | 138 | $this->assertNotEmpty($content->getLanguage(), 'Language for https://www.lemonde.fr is ok'); |
139 | 139 | ||
140 | $createdAt = $content->getCreatedAt(); | 140 | $createdAt = $content->getCreatedAt(); |
141 | $this->assertSame('2013', $createdAt->format('Y')); | 141 | $this->assertSame('2013', $createdAt->format('Y')); |