diff options
Diffstat (limited to 'tests/unit/controller/FeedApiControllerTest.php')
-rw-r--r-- | tests/unit/controller/FeedApiControllerTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/controller/FeedApiControllerTest.php b/tests/unit/controller/FeedApiControllerTest.php index b5a167588..a276512f6 100644 --- a/tests/unit/controller/FeedApiControllerTest.php +++ b/tests/unit/controller/FeedApiControllerTest.php @@ -90,7 +90,7 @@ class FeedApiControllerTest extends \PHPUnit_Framework_TestCase { $response = $this->feedAPI->index(); $this->assertEquals([ - 'feeds' => $feeds, + 'feeds' => [$feeds[0]->toAPI()], 'starredCount' => $starredCount, 'newestItemId' => $newestItemId ], $response); @@ -117,7 +117,7 @@ class FeedApiControllerTest extends \PHPUnit_Framework_TestCase { $response = $this->feedAPI->index(); $this->assertEquals([ - 'feeds' => $feeds, + 'feeds' => [$feeds[0]->toAPI()], 'starredCount' => $starredCount, ], $response); } @@ -167,7 +167,7 @@ class FeedApiControllerTest extends \PHPUnit_Framework_TestCase { $response = $this->feedAPI->create('url', 3); $this->assertEquals([ - 'feeds' => $feeds, + 'feeds' => [$feeds[0]->toAPI()], 'newestItemId' => 3 ], $response); } @@ -193,7 +193,7 @@ class FeedApiControllerTest extends \PHPUnit_Framework_TestCase { $response = $this->feedAPI->create('ho', 3); $this->assertEquals([ - 'feeds' => $feeds + 'feeds' => [$feeds[0]->toAPI()] ], $response); } |