]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Fix SO tests 3145/head
authorJeremy Benoist <jeremy.benoist@gmail.com>
Wed, 24 May 2017 10:13:24 +0000 (12:13 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Wed, 24 May 2017 10:13:25 +0000 (12:13 +0200)
SO switched to http yesterday

tests/Wallabag/ImportBundle/Controller/FirefoxControllerTest.php

index 684530277085bd2b3d880a7bf00a3146da18471e..5354439c57867eb063213acc9debf2dd33302629 100644 (file)
@@ -127,13 +127,13 @@ class FirefoxControllerTest extends WallabagCoreTestCase
             ->get('doctrine.orm.entity_manager')
             ->getRepository('WallabagCoreBundle:Entry')
             ->findByUrlAndUserId(
-                'http://stackoverflow.com/questions/15017163/parser-for-exported-bookmarks-html-file-of-google-chrome-and-mozilla-in-java',
+                'https://stackoverflow.com/questions/15017163/parser-for-exported-bookmarks-html-file-of-google-chrome-and-mozilla-in-java',
                 $this->getLoggedInUserId()
             );
 
-        $this->assertNotEmpty($content->getMimetype(), 'Mimetype for http://stackoverflow.com is ok');
-        $this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for http://stackoverflow.com is ok');
-        $this->assertEmpty($content->getLanguage(), 'Language for http://stackoverflow.com is ok');
+        $this->assertNotEmpty($content->getMimetype(), 'Mimetype for https://stackoverflow.com is ok');
+        $this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for https://stackoverflow.com is ok');
+        $this->assertEmpty($content->getLanguage(), 'Language for https://stackoverflow.com is ok');
 
         $createdAt = $content->getCreatedAt();
         $this->assertEquals('2013', $createdAt->format('Y'));