summaryrefslogtreecommitdiffstats
path: root/tests/lib/Files/Storage/LocalTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Files/Storage/LocalTest.php')
-rw-r--r--tests/lib/Files/Storage/LocalTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Files/Storage/LocalTest.php b/tests/lib/Files/Storage/LocalTest.php
index 23738a25c2a..46784811248 100644
--- a/tests/lib/Files/Storage/LocalTest.php
+++ b/tests/lib/Files/Storage/LocalTest.php
@@ -39,7 +39,7 @@ class LocalTest extends Storage {
parent::setUp();
$this->tmpDir = \OC::$server->getTempManager()->getTemporaryFolder();
- $this->instance = new \OC\Files\Storage\Local(array('datadir' => $this->tmpDir));
+ $this->instance = new \OC\Files\Storage\Local(['datadir' => $this->tmpDir]);
}
protected function tearDown(): void {