summaryrefslogtreecommitdiffstats
path: root/tests/unit/utility/ConfigTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/utility/ConfigTest.php')
-rw-r--r--tests/unit/utility/ConfigTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/utility/ConfigTest.php b/tests/unit/utility/ConfigTest.php
index 8c1bee0f0..8a3173732 100644
--- a/tests/unit/utility/ConfigTest.php
+++ b/tests/unit/utility/ConfigTest.php
@@ -28,12 +28,12 @@ class ConfigTest extends \PHPUnit_Framework_TestCase {
'\OCP\ILogger')
->disableOriginalConstructor()
->getMock();
- $this->fileSystem = $this->getMock('FileSystem', array(
+ $this->fileSystem = $this->getMock('FileSystem', [
'file_get_contents',
'file_put_contents',
'file_exists'
- ));
- $this->loggerParams = array('hi');
+ ]);
+ $this->loggerParams = ['hi'];
$this->config = new Config($this->fileSystem, $this->logger, $this->loggerParams);
$this->configPath = 'config.json';
}