Promote https

This commit is contained in:
Jeremy Benoist 2017-06-09 10:07:27 +02:00
parent 80f4d85ac9
commit 1a94252831
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
2 changed files with 2 additions and 2 deletions

View 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

View 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);
}