diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2021-02-18 14:05:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-18 14:05:54 +0100 |
commit | 5026d2cca10fa65be68367002eff147d7dc71077 (patch) | |
tree | d4d7119b0b8f547aebcc857c5297fc52ccc5a4b3 /tests/Core | |
parent | bbb39cf3deb350738a28b5f5bdf40572f1406897 (diff) | |
parent | eb502c02ff7693bb36318d857985f79e7bac370c (diff) | |
download | nextcloud-server-5026d2cca10fa65be68367002eff147d7dc71077.tar.gz nextcloud-server-5026d2cca10fa65be68367002eff147d7dc71077.zip |
Merge pull request #25086 from nextcloud/dependabot/composer/nextcloud/coding-standard-0.5.0
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0
Diffstat (limited to 'tests/Core')
-rw-r--r-- | tests/Core/Controller/OCSControllerTest.php | 4 | ||||
-rw-r--r-- | tests/Core/Service/LoginFlowV2ServiceUnitTest.php | 4 |
2 files changed, 4 insertions, 4 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'] = [ diff --git a/tests/Core/Service/LoginFlowV2ServiceUnitTest.php b/tests/Core/Service/LoginFlowV2ServiceUnitTest.php index 233960ea97a..18b2f370fb3 100644 --- a/tests/Core/Service/LoginFlowV2ServiceUnitTest.php +++ b/tests/Core/Service/LoginFlowV2ServiceUnitTest.php @@ -181,7 +181,7 @@ class LoginFlowV2ServiceUnitTest extends TestCase { } public function testPollRemoveDataFromDb() { - list($encrypted, $privateKey) = $this->getOpenSSLEncryptedPublicAndPrivateKey('test_pass'); + [$encrypted, $privateKey] = $this->getOpenSSLEncryptedPublicAndPrivateKey('test_pass'); $this->crypto->expects($this->once()) ->method('decrypt') @@ -295,7 +295,7 @@ class LoginFlowV2ServiceUnitTest extends TestCase { */ public function testFlowDone() { - list(,, $publicKey) = $this->getOpenSSLEncryptedPublicAndPrivateKey('test_pass'); + [,, $publicKey] = $this->getOpenSSLEncryptedPublicAndPrivateKey('test_pass'); $loginFlowV2 = new LoginFlowV2(); $loginFlowV2->setPublicKey($publicKey); |