diff options
Diffstat (limited to 'tests/unit/controller/FeedControllerTest.php')
-rw-r--r-- | tests/unit/controller/FeedControllerTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/controller/FeedControllerTest.php b/tests/unit/controller/FeedControllerTest.php index a2fc8bc22..c756875d2 100644 --- a/tests/unit/controller/FeedControllerTest.php +++ b/tests/unit/controller/FeedControllerTest.php @@ -426,11 +426,11 @@ class FeedControllerTest extends \PHPUnit_Framework_TestCase { $this->feedService->expects($this->once()) ->method('importArticles') - ->with($this->equalTo('json'), + ->with($this->equalTo(array('json')), $this->equalTo($this->user)) ->will($this->returnValue($feed)); - $response = $this->controller->import('json'); + $response = $this->controller->import(array('json')); $this->assertEquals($expected, $response); } @@ -439,11 +439,11 @@ class FeedControllerTest extends \PHPUnit_Framework_TestCase { public function testImportCreatesNoAdditionalFeed() { $this->feedService->expects($this->once()) ->method('importArticles') - ->with($this->equalTo('json'), + ->with($this->equalTo(array('json')), $this->equalTo($this->user)) ->will($this->returnValue(null)); - $response = $this->controller->import('json'); + $response = $this->controller->import(array('json')); $this->assertEquals([], $response); } |