summaryrefslogtreecommitdiffstats
path: root/tests/unit/controller/FolderApiControllerTest.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-05-16 01:19:29 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-05-16 01:19:29 +0200
commit054aad5a6968c13b9580109c7df3129a1db6f8a4 (patch)
tree2e35e4374d3fd011859371174238c480b9c6ba0f /tests/unit/controller/FolderApiControllerTest.php
parentb485ec1da214e13ec5731df6a56072b3ed3aed23 (diff)
fix coding style and dead code
Diffstat (limited to 'tests/unit/controller/FolderApiControllerTest.php')
-rw-r--r--tests/unit/controller/FolderApiControllerTest.php3
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);
}