diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-05-21 21:10:45 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-05-21 21:10:45 +0200 |
commit | 031ba0ce524f35c70b776173917ae4ce3819951e (patch) | |
tree | a54c45c0e9b9412ae7970034e7621115dce714c8 /tests/unit/external/FolderAPITest.php | |
parent | 284d428111d03c16561c15dc98daaab802d2cac4 (diff) |
When creating a feed or folder the it should purge the deleted
Edit
fix #176
Diffstat (limited to 'tests/unit/external/FolderAPITest.php')
-rw-r--r-- | tests/unit/external/FolderAPITest.php | 4 |
1 files changed, 2 insertions, 2 deletions
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))); |