X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2FWallabag%2FCoreBundle%2FController%2FFeedControllerTest.php;fp=tests%2FWallabag%2FCoreBundle%2FController%2FFeedControllerTest.php;h=c900ff5cf3d94f7eb09494970d9b5b70808b4ba3;hb=9a62cb9fa4e1fa401a5b1604283eabc4b665a3b7;hp=3bc7f95116078ad1e9d1a4aa1bff100f7e8c2908;hpb=1554eb0adac470151d9668d55ce1450c64f862d9;p=github%2Fwallabag%2Fwallabag.git 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 $this->assertEquals(1, $xpath->query('/a:feed')->length); $this->assertEquals(1, $xpath->query('/a:feed/a:title')->length); + $this->assertContains('favicon.ico', $xpath->query('/a:feed/a:icon')->item(0)->nodeValue); + $this->assertContains('logo-square.png', $xpath->query('/a:feed/a:logo')->item(0)->nodeValue); $this->assertEquals(1, $xpath->query('/a:feed/a:updated')->length); $this->assertEquals(1, $xpath->query('/a:feed/a:generator')->length); $this->assertEquals('wallabag', $xpath->query('/a:feed/a:generator')->item(0)->nodeValue); + $this->assertEquals('admin', $xpath->query('/a:feed/a:author/a:name')->item(0)->nodeValue); $this->assertEquals(1, $xpath->query('/a:feed/a:subtitle')->length); if (null !== $tagValue && 0 === strpos($type, 'tag')) {