diff options
Diffstat (limited to 'tests/unit/controller/FeedControllerTest.php')
-rw-r--r-- | tests/unit/controller/FeedControllerTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/controller/FeedControllerTest.php b/tests/unit/controller/FeedControllerTest.php index 841ba5ea2..370158822 100644 --- a/tests/unit/controller/FeedControllerTest.php +++ b/tests/unit/controller/FeedControllerTest.php @@ -318,7 +318,7 @@ class FeedControllerTest extends ControllerTestUtility { ->will($this->returnValue($result['newestItemId'])); $this->feedBusinessLayer->expects($this->once()) ->method('purgeDeleted') - ->with($this->equalTo($this->user)); + ->with($this->equalTo($this->user), $this->equalTo(false)); $this->feedBusinessLayer->expects($this->once()) ->method('create') ->with($this->equalTo($post['url']), @@ -349,7 +349,7 @@ class FeedControllerTest extends ControllerTestUtility { ->will($this->returnValue($this->user)); $this->feedBusinessLayer->expects($this->once()) ->method('purgeDeleted') - ->with($this->equalTo($this->user)); + ->with($this->equalTo($this->user), $this->equalTo(false)); $this->itemBusinessLayer->expects($this->once()) ->method('getNewestItemId') @@ -377,7 +377,7 @@ class FeedControllerTest extends ControllerTestUtility { ->will($this->returnValue($this->user)); $this->feedBusinessLayer->expects($this->once()) ->method('purgeDeleted') - ->with($this->equalTo($this->user)); + ->with($this->equalTo($this->user), $this->equalTo(false)); $this->feedBusinessLayer->expects($this->once()) ->method('create') ->will($this->throwException($ex)); |