summaryrefslogtreecommitdiffstats
path: root/tests/Core/Controller/OCSControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Core/Controller/OCSControllerTest.php')
-rw-r--r--tests/Core/Controller/OCSControllerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Core/Controller/OCSControllerTest.php b/tests/Core/Controller/OCSControllerTest.php
index cb1b9379a90..61ed4a50d62 100644
--- a/tests/Core/Controller/OCSControllerTest.php
+++ b/tests/Core/Controller/OCSControllerTest.php
@@ -88,7 +88,7 @@ class OCSControllerTest extends TestCase {
$this->userSession->expects($this->once())
->method('isLoggedIn')
->willReturn(true);
- list($major, $minor, $micro) = \OCP\Util::getVersion();
+ [$major, $minor, $micro] = \OCP\Util::getVersion();
$result = [];
$result['version'] = [
@@ -121,7 +121,7 @@ class OCSControllerTest extends TestCase {
$this->userSession->expects($this->once())
->method('isLoggedIn')
->willReturn(false);
- list($major, $minor, $micro) = \OCP\Util::getVersion();
+ [$major, $minor, $micro] = \OCP\Util::getVersion();
$result = [];
$result['version'] = [