Fix logo path in entries.xml.twig

This commit is contained in:
Yassine Guedidi 2024-02-25 00:10:23 +01:00
parent 1bd9ae2a5c
commit 71e7c16dfe
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@
<name>{{ user }}</name>
</author>
<icon>{{ asset('favicon.ico') }}</icon>
<logo>{{ asset('bundles/wallabagcore/themes/_global/img/logo-square.png') }}</logo>
<logo>{{ asset('img/logo-square.svg') }}</logo>
{% for entry in entries %}
<entry>
<title><![CDATA[{{ entry.title|e }}]]></title>

View file

@ -27,7 +27,7 @@ class FeedControllerTest extends WallabagCoreTestCase
$this->assertSame(1, $xpath->query('/a:feed/a:title')->length);
$this->assertStringContainsString('favicon.ico', $xpath->query('/a:feed/a:icon')->item(0)->nodeValue);
$this->assertStringContainsString('logo-square.png', $xpath->query('/a:feed/a:logo')->item(0)->nodeValue);
$this->assertStringContainsString('logo-square.svg', $xpath->query('/a:feed/a:logo')->item(0)->nodeValue);
$this->assertSame(1, $xpath->query('/a:feed/a:updated')->length);