summaryrefslogtreecommitdiffstats
path: root/tests/unit/controller/FeedApiControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/controller/FeedApiControllerTest.php')
-rw-r--r--tests/unit/controller/FeedApiControllerTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/controller/FeedApiControllerTest.php b/tests/unit/controller/FeedApiControllerTest.php
index 1444fa563..79c21af28 100644
--- a/tests/unit/controller/FeedApiControllerTest.php
+++ b/tests/unit/controller/FeedApiControllerTest.php
@@ -98,7 +98,7 @@ class FeedApiControllerTest extends \PHPUnit_Framework_TestCase {
$response = $this->feedAPI->index();
$this->assertEquals(array(
- 'feeds' => array($feeds[0]->toAPI()),
+ 'feeds' => $feeds,
'starredCount' => $starredCount,
'newestItemId' => $newestItemId
), $response);
@@ -127,7 +127,7 @@ class FeedApiControllerTest extends \PHPUnit_Framework_TestCase {
$response = $this->feedAPI->index();
$this->assertEquals(array(
- 'feeds' => array($feeds[0]->toAPI()),
+ 'feeds' => $feeds,
'starredCount' => $starredCount,
), $response);
}
@@ -179,7 +179,7 @@ class FeedApiControllerTest extends \PHPUnit_Framework_TestCase {
$response = $this->feedAPI->create('url', 3);
$this->assertEquals(array(
- 'feeds' => array($feeds[0]->toAPI()),
+ 'feeds' => $feeds,
'newestItemId' => 3
), $response);
}
@@ -207,7 +207,7 @@ class FeedApiControllerTest extends \PHPUnit_Framework_TestCase {
$response = $this->feedAPI->create('ho', 3);
$this->assertEquals(array(
- 'feeds' => array($feeds[0]->toAPI())
+ 'feeds' => $feeds
), $response);
}