diff options
Diffstat (limited to 'tests/unit/controller/FolderApiControllerTest.php')
-rw-r--r-- | tests/unit/controller/FolderApiControllerTest.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/unit/controller/FolderApiControllerTest.php b/tests/unit/controller/FolderApiControllerTest.php index cf23984ce..d3171e397 100644 --- a/tests/unit/controller/FolderApiControllerTest.php +++ b/tests/unit/controller/FolderApiControllerTest.php @@ -64,9 +64,7 @@ class FolderApiControllerTest extends \PHPUnit_Framework_TestCase { public function testIndex() { - $folders = array( - new Folder() - ); + $folders = [new Folder()]; $this->folderBusinessLayer->expects($this->once()) ->method('findAll') @@ -83,9 +81,7 @@ class FolderApiControllerTest extends \PHPUnit_Framework_TestCase { $folderName = 'test'; $folder = new Folder(); $folder->setName($folderName); - $folders = array( - $folder - ); + $folders = [$folder]; $this->folderBusinessLayer->expects($this->once()) ->method('purgeDeleted') |