mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-01 17:38:38 +00:00
Modernize to PHP 8.1
This commit is contained in:
parent
ca018c77e3
commit
9e2720cddc
26 changed files with 48 additions and 52 deletions
|
@ -1283,7 +1283,7 @@ class EntryControllerTest extends WallabagTestCase
|
|||
$this->assertSame($url, $entry->getUrl());
|
||||
$this->assertStringContainsString('Comment Hidalgo', $entry->getTitle());
|
||||
// instead of checking for the filename (which might change) check that the image is now local
|
||||
$this->assertStringContainsString(rtrim($client->getContainer()->getParameter('domain_name'), '/') . '/assets/images/', $entry->getContent());
|
||||
$this->assertStringContainsString(rtrim((string) $client->getContainer()->getParameter('domain_name'), '/') . '/assets/images/', $entry->getContent());
|
||||
|
||||
$client->getContainer()->get(Config::class)->set('download_images_enabled', 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue