diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2017-05-24 14:33:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-24 14:33:58 +0200 |
commit | 35941d57ee4d06ec3557d4b126d5f6fd263bcf3a (patch) | |
tree | c2c101c235d8cb7458270c8ddb2bc9e302e042b1 /tests/Wallabag/ImportBundle/Controller/FirefoxControllerTest.php | |
parent | e869ee7d7f1920b7393efdd19caafcaafb9a6ee2 (diff) | |
parent | 216dee4d8ad265fd969e35647f8be78ca85c17fd (diff) | |
download | wallabag-35941d57ee4d06ec3557d4b126d5f6fd263bcf3a.tar.gz wallabag-35941d57ee4d06ec3557d4b126d5f6fd263bcf3a.tar.zst wallabag-35941d57ee4d06ec3557d4b126d5f6fd263bcf3a.zip |
Merge pull request #3145 from wallabag/fix-so
Fix SO tests
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 68453027..5354439c 100644 --- a/tests/Wallabag/ImportBundle/Controller/FirefoxControllerTest.php +++ b/tests/Wallabag/ImportBundle/Controller/FirefoxControllerTest.php | |||
@@ -127,13 +127,13 @@ class FirefoxControllerTest extends WallabagCoreTestCase | |||
127 | ->get('doctrine.orm.entity_manager') | 127 | ->get('doctrine.orm.entity_manager') |
128 | ->getRepository('WallabagCoreBundle:Entry') | 128 | ->getRepository('WallabagCoreBundle:Entry') |
129 | ->findByUrlAndUserId( | 129 | ->findByUrlAndUserId( |
130 | 'http://stackoverflow.com/questions/15017163/parser-for-exported-bookmarks-html-file-of-google-chrome-and-mozilla-in-java', | 130 | 'https://stackoverflow.com/questions/15017163/parser-for-exported-bookmarks-html-file-of-google-chrome-and-mozilla-in-java', |
131 | $this->getLoggedInUserId() | 131 | $this->getLoggedInUserId() |
132 | ); | 132 | ); |
133 | 133 | ||
134 | $this->assertNotEmpty($content->getMimetype(), 'Mimetype for http://stackoverflow.com is ok'); | 134 | $this->assertNotEmpty($content->getMimetype(), 'Mimetype for https://stackoverflow.com is ok'); |
135 | $this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for http://stackoverflow.com is ok'); | 135 | $this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for https://stackoverflow.com is ok'); |
136 | $this->assertEmpty($content->getLanguage(), 'Language for http://stackoverflow.com is ok'); | 136 | $this->assertEmpty($content->getLanguage(), 'Language for https://stackoverflow.com is ok'); |
137 | 137 | ||
138 | $createdAt = $content->getCreatedAt(); | 138 | $createdAt = $content->getCreatedAt(); |
139 | $this->assertEquals('2013', $createdAt->format('Y')); | 139 | $this->assertEquals('2013', $createdAt->format('Y')); |