summaryrefslogtreecommitdiffstats
path: root/tests/unit/controller/FeedControllerTest.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-06-12 14:50:15 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-06-12 14:50:25 +0200
commit4faa08d70891da48a0f7647f7eb8730f7f9dc82e (patch)
treea7f66c2748e2f731be2f20f2af36181a29bf6ff1 /tests/unit/controller/FeedControllerTest.php
parenta70a85bc1839fbd2ebb27f051fe7c473107c5204 (diff)
add annotations for api controllers
Diffstat (limited to 'tests/unit/controller/FeedControllerTest.php')
-rw-r--r--tests/unit/controller/FeedControllerTest.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/unit/controller/FeedControllerTest.php b/tests/unit/controller/FeedControllerTest.php
index 370158822..064fdeeb4 100644
--- a/tests/unit/controller/FeedControllerTest.php
+++ b/tests/unit/controller/FeedControllerTest.php
@@ -84,9 +84,9 @@ class FeedControllerTest extends ControllerTestUtility {
);
$request = $this->getRequest($post);
- return new FeedController($this->api, $request,
+ return new FeedController($this->api, $request,
$this->folderBusinessLayer,
- $this->feedBusinessLayer,
+ $this->feedBusinessLayer,
$this->itemBusinessLayer);
}
@@ -293,7 +293,7 @@ class FeedControllerTest extends ControllerTestUtility {
$response = $this->controller->active();
$this->assertEquals($result, $response->getParams());
- $this->assertTrue($response instanceof JSONResponse);
+ $this->assertTrue($response instanceof JSONResponse);
}
@@ -330,7 +330,7 @@ class FeedControllerTest extends ControllerTestUtility {
$this->assertEquals($result, $response->getParams());
$this->assertTrue($response instanceof JSONResponse);
- }
+ }
public function testCreateNoItems(){
@@ -366,7 +366,7 @@ class FeedControllerTest extends ControllerTestUtility {
$this->assertEquals($result, $response->getParams());
$this->assertTrue($response instanceof JSONResponse);
- }
+ }
public function testCreateReturnsErrorForInvalidCreate(){
@@ -507,7 +507,7 @@ class FeedControllerTest extends ControllerTestUtility {
->will($this->returnValue($this->user));
$this->feedBusinessLayer->expects($this->once())
->method('move')
- ->with($this->equalTo($url['feedId']),
+ ->with($this->equalTo($url['feedId']),
$this->equalTo($post['parentFolderId']),
$this->equalTo($this->user));
@@ -559,7 +559,7 @@ class FeedControllerTest extends ControllerTestUtility {
->will($this->returnValue($this->user));
$this->feedBusinessLayer->expects($this->once())
->method('importGoogleReaderJSON')
- ->with($this->equalTo($post['json']),
+ ->with($this->equalTo($post['json']),
$this->equalTo($this->user))
->will($this->returnValue($feed));
@@ -614,7 +614,7 @@ class FeedControllerTest extends ControllerTestUtility {
->with($this->equalTo($url['feedId']));
$response = $this->controller->restore();
- $this->assertTrue($response instanceof JSONResponse);
+ $this->assertTrue($response instanceof JSONResponse);
}
@@ -640,4 +640,4 @@ class FeedControllerTest extends ControllerTestUtility {
$this->assertTrue($response instanceof JSONResponse);
}
-} \ No newline at end of file
+}