aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tests/Wallabag/CoreBundle/Controller/FeedControllerTest.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/FeedControllerTest.php b/tests/Wallabag/CoreBundle/Controller/FeedControllerTest.php
index 3bc7f951..c900ff5c 100644
--- a/tests/Wallabag/CoreBundle/Controller/FeedControllerTest.php
+++ b/tests/Wallabag/CoreBundle/Controller/FeedControllerTest.php
@@ -23,11 +23,14 @@ class FeedControllerTest extends WallabagCoreTestCase
23 $this->assertEquals(1, $xpath->query('/a:feed')->length); 23 $this->assertEquals(1, $xpath->query('/a:feed')->length);
24 24
25 $this->assertEquals(1, $xpath->query('/a:feed/a:title')->length); 25 $this->assertEquals(1, $xpath->query('/a:feed/a:title')->length);
26 $this->assertContains('favicon.ico', $xpath->query('/a:feed/a:icon')->item(0)->nodeValue);
27 $this->assertContains('logo-square.png', $xpath->query('/a:feed/a:logo')->item(0)->nodeValue);
26 28
27 $this->assertEquals(1, $xpath->query('/a:feed/a:updated')->length); 29 $this->assertEquals(1, $xpath->query('/a:feed/a:updated')->length);
28 30
29 $this->assertEquals(1, $xpath->query('/a:feed/a:generator')->length); 31 $this->assertEquals(1, $xpath->query('/a:feed/a:generator')->length);
30 $this->assertEquals('wallabag', $xpath->query('/a:feed/a:generator')->item(0)->nodeValue); 32 $this->assertEquals('wallabag', $xpath->query('/a:feed/a:generator')->item(0)->nodeValue);
33 $this->assertEquals('admin', $xpath->query('/a:feed/a:author/a:name')->item(0)->nodeValue);
31 34
32 $this->assertEquals(1, $xpath->query('/a:feed/a:subtitle')->length); 35 $this->assertEquals(1, $xpath->query('/a:feed/a:subtitle')->length);
33 if (null !== $tagValue && 0 === strpos($type, 'tag')) { 36 if (null !== $tagValue && 0 === strpos($type, 'tag')) {