summaryrefslogtreecommitdiffstats
path: root/tests/Core/Service
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Core/Service')
-rw-r--r--tests/Core/Service/LoginFlowV2ServiceUnitTest.php4
1 files changed, 2 insertions, 2 deletions
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);