aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/PermissionsTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/tests/PermissionsTest.php')
-rw-r--r--apps/files_sharing/tests/PermissionsTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_sharing/tests/PermissionsTest.php b/apps/files_sharing/tests/PermissionsTest.php
index 6d3dabd609f..462a73f09d2 100644
--- a/apps/files_sharing/tests/PermissionsTest.php
+++ b/apps/files_sharing/tests/PermissionsTest.php
@@ -76,7 +76,7 @@ class PermissionsTest extends TestCase {
$this->view->file_put_contents('container/shareddir/textfile.txt', $textData);
$this->view->file_put_contents('container/shareddirrestricted/textfile1.txt', $textData);
- list($this->ownerStorage, $internalPath) = $this->view->resolvePath('');
+ [$this->ownerStorage, $internalPath] = $this->view->resolvePath('');
$this->ownerCache = $this->ownerStorage->getCache();
$this->ownerStorage->getScanner()->scan('');
@@ -110,8 +110,8 @@ class PermissionsTest extends TestCase {
// retrieve the shared storage
$this->secondView = new \OC\Files\View('/' . self::TEST_FILES_SHARING_API_USER2);
- list($this->sharedStorage, $internalPath) = $this->secondView->resolvePath('files/shareddir');
- list($this->sharedStorageRestrictedShare, $internalPath) = $this->secondView->resolvePath('files/shareddirrestricted');
+ [$this->sharedStorage, $internalPath] = $this->secondView->resolvePath('files/shareddir');
+ [$this->sharedStorageRestrictedShare, $internalPath] = $this->secondView->resolvePath('files/shareddirrestricted');
$this->sharedCache = $this->sharedStorage->getCache();
$this->sharedCacheRestrictedShare = $this->sharedStorageRestrictedShare->getCache();
}