diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-16 01:19:29 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-16 01:19:29 +0200 |
commit | 054aad5a6968c13b9580109c7df3129a1db6f8a4 (patch) | |
tree | 2e35e4374d3fd011859371174238c480b9c6ba0f /tests/unit/controller/FolderApiControllerTest.php | |
parent | b485ec1da214e13ec5731df6a56072b3ed3aed23 (diff) |
fix coding style and dead code
Diffstat (limited to 'tests/unit/controller/FolderApiControllerTest.php')
-rw-r--r-- | tests/unit/controller/FolderApiControllerTest.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/unit/controller/FolderApiControllerTest.php b/tests/unit/controller/FolderApiControllerTest.php index 8ddb9d14f..4a2c922b0 100644 --- a/tests/unit/controller/FolderApiControllerTest.php +++ b/tests/unit/controller/FolderApiControllerTest.php @@ -81,7 +81,6 @@ class FolderApiControllerTest extends \PHPUnit_Framework_TestCase { $folderName = 'test'; $folder = new Folder(); $folder->setName($folderName); - $folders = [$folder]; $this->folderService->expects($this->once()) ->method('purgeDeleted') @@ -139,7 +138,7 @@ class FolderApiControllerTest extends \PHPUnit_Framework_TestCase { ->method('delete') ->with($this->equalTo($folderId), $this->equalTo($this->user)); - $response = $this->folderAPI->delete(23); + $this->folderAPI->delete(23); } |