From: ArthurHoaro Date: Thu, 3 Sep 2020 08:18:04 +0000 (+0200) Subject: Fix feed target in UT X-Git-Tag: v0.12.0-beta-1~23^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;ds=sidebyside;h=refs%2Fpull%2F1537%2Fhead;hp=ce7918386a00c4a10ad8c9942c8ac28ea1fae0c2;p=github%2Fshaarli%2FShaarli.git Fix feed target in UT --- diff --git a/tests/front/controller/visitor/FeedControllerTest.php b/tests/front/controller/visitor/FeedControllerTest.php index fb417e2a..0a6b577f 100644 --- a/tests/front/controller/visitor/FeedControllerTest.php +++ b/tests/front/controller/visitor/FeedControllerTest.php @@ -52,7 +52,7 @@ class FeedControllerTest extends TestCase static::assertSame('data', $data['content']); static::assertArrayHasKey('loggedin', $param); - static::assertSame('rss', $param['target']); + static::assertSame('feed.rss', $param['target']); }) ; @@ -91,7 +91,7 @@ class FeedControllerTest extends TestCase static::assertSame('data', $data['content']); static::assertArrayHasKey('loggedin', $param); - static::assertSame('atom', $param['target']); + static::assertSame('feed.atom', $param['target']); }) ; @@ -131,7 +131,7 @@ class FeedControllerTest extends TestCase static::assertSame('data', $data['content']); static::assertArrayHasKey('loggedin', $param); - static::assertSame('atom', $param['target']); + static::assertSame('feed.atom', $param['target']); }) ;