diff options
Diffstat (limited to 'tests/unit/external')
-rw-r--r-- | tests/unit/external/FeedAPITest.php | 6 | ||||
-rw-r--r-- | tests/unit/external/FolderAPITest.php | 4 |
2 files changed, 5 insertions, 5 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))); diff --git a/tests/unit/external/FolderAPITest.php b/tests/unit/external/FolderAPITest.php index aaae2d084..1ae4bd081 100644 --- a/tests/unit/external/FolderAPITest.php +++ b/tests/unit/external/FolderAPITest.php @@ -114,7 +114,7 @@ class FolderAPITest extends \PHPUnit_Framework_TestCase { $this->folderBusinessLayer->expects($this->once()) ->method('purgeDeleted') - ->with($this->equalTo($this->user)); + ->with($this->equalTo($this->user), $this->equalTo(false)); $this->folderBusinessLayer->expects($this->once()) ->method('create') ->with($this->equalTo($folderName), $this->equalTo($this->user)) @@ -132,7 +132,7 @@ class FolderAPITest extends \PHPUnit_Framework_TestCase { $msg = 'exists'; $this->folderBusinessLayer->expects($this->once()) ->method('purgeDeleted') - ->with($this->equalTo($this->user)); + ->with($this->equalTo($this->user), $this->equalTo(false)); $this->folderBusinessLayer->expects($this->once()) ->method('create') ->will($this->throwException(new BusinessLayerExistsException($msg))); |