summaryrefslogtreecommitdiffstats
path: root/tests/unit/external/FeedAPITest.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-05-21 21:10:45 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-05-21 21:10:45 +0200
commit031ba0ce524f35c70b776173917ae4ce3819951e (patch)
treea54c45c0e9b9412ae7970034e7621115dce714c8 /tests/unit/external/FeedAPITest.php
parent284d428111d03c16561c15dc98daaab802d2cac4 (diff)
When creating a feed or folder the it should purge the deleted
Edit fix #176
Diffstat (limited to 'tests/unit/external/FeedAPITest.php')
-rw-r--r--tests/unit/external/FeedAPITest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/external/FeedAPITest.php b/tests/unit/external/FeedAPITest.php
index c6d8247f5..cdc04bf0c 100644
--- a/tests/unit/external/FeedAPITest.php
+++ b/tests/unit/external/FeedAPITest.php
@@ -211,7 +211,7 @@ class FeedAPITest extends \PHPUnit_Framework_TestCase {
$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(
@@ -253,7 +253,7 @@ class FeedAPITest extends \PHPUnit_Framework_TestCase {
$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(
@@ -280,7 +280,7 @@ class FeedAPITest extends \PHPUnit_Framework_TestCase {
public function testCreateExists() {
$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(new BusinessLayerExistsException($this->msg)));