]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Promote https 3173/head
authorJeremy Benoist <jeremy.benoist@gmail.com>
Fri, 9 Jun 2017 08:07:27 +0000 (10:07 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Fri, 9 Jun 2017 08:07:27 +0000 (10:07 +0200)
app/config/parameters.yml.dist
tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php

index d827219a687bf32989123e41f7aa7b46d2737f25..914fb1efcba94fdec85a66d0d2b33b4d83f63673 100644 (file)
@@ -23,7 +23,7 @@ parameters:
     # with PostgreSQL and SQLite, you must set "utf8"
     database_charset: utf8mb4
 
-    domain_name: http://your-wallabag-url-instance.com
+    domain_name: https://your-wallabag-url-instance.com
 
     mailer_transport: smtp
     mailer_host: 127.0.0.1
index 581ee9523029cd4a2d5287a5d53f777c72617f53..4ffe02de94eeb76dff210be9b31210a4fc088471 100644 (file)
@@ -1000,7 +1000,7 @@ class EntryControllerTest extends WallabagCoreTestCase
         $this->assertEquals($url, $entry->getUrl());
         $this->assertContains('Perpignan', $entry->getTitle());
         // instead of checking for the filename (which might change) check that the image is now local
-        $this->assertContains('http://your-wallabag-url-instance.com/assets/images/', $entry->getContent());
+        $this->assertContains('https://your-wallabag-url-instance.com/assets/images/', $entry->getContent());
 
         $client->getContainer()->get('craue_config')->set('download_images_enabled', 0);
     }