diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-04-05 17:42:14 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-04-05 17:42:14 +0200 |
commit | 8d5165e8dc40289b5d523523c4140f780b2fe293 (patch) | |
tree | b4d15f2bc67e16c94d7cdfdb893a773b415d2738 /tests/lib/Security/VerificationToken/VerificationTokenTest.php | |
parent | 426c0341ffff262f58d1b7f031de4f0c53c8bec5 (diff) | |
download | nextcloud-server-8d5165e8dc40289b5d523523c4140f780b2fe293.tar.gz nextcloud-server-8d5165e8dc40289b5d523523c4140f780b2fe293.zip |
Adapt tests to config value typing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests/lib/Security/VerificationToken/VerificationTokenTest.php')
-rw-r--r-- | tests/lib/Security/VerificationToken/VerificationTokenTest.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/lib/Security/VerificationToken/VerificationTokenTest.php b/tests/lib/Security/VerificationToken/VerificationTokenTest.php index 481646f26ab..a71d2b09f71 100644 --- a/tests/lib/Security/VerificationToken/VerificationTokenTest.php +++ b/tests/lib/Security/VerificationToken/VerificationTokenTest.php @@ -116,7 +116,7 @@ class VerificationTokenTest extends TestCase { ->with('alice', 'core', 'fingerprintToken', null) ->willReturn('encryptedToken'); $this->config->expects($this->any()) - ->method('getSystemValue') + ->method('getSystemValueString') ->with('secret') ->willReturn('357111317'); @@ -143,7 +143,7 @@ class VerificationTokenTest extends TestCase { ->with('alice', 'core', 'fingerprintToken', null) ->willReturn('encryptedToken'); $this->config->expects($this->any()) - ->method('getSystemValue') + ->method('getSystemValueString') ->with('secret') ->willReturn('357111317'); @@ -173,7 +173,7 @@ class VerificationTokenTest extends TestCase { ->with('alice', 'core', 'fingerprintToken', null) ->willReturn('encryptedToken'); $this->config->expects($this->any()) - ->method('getSystemValue') + ->method('getSystemValueString') ->with('secret') ->willReturn('357111317'); @@ -207,7 +207,7 @@ class VerificationTokenTest extends TestCase { ->with('alice', 'core', 'fingerprintToken', null) ->willReturn('encryptedToken'); $this->config->expects($this->any()) - ->method('getSystemValue') + ->method('getSystemValueString') ->with('secret') ->willReturn('357111317'); @@ -241,7 +241,7 @@ class VerificationTokenTest extends TestCase { ->with('alice', 'core', 'fingerprintToken', null) ->willReturn('encryptedToken'); $this->config->expects($this->any()) - ->method('getSystemValue') + ->method('getSystemValueString') ->with('secret') ->willReturn('357111317'); @@ -275,7 +275,7 @@ class VerificationTokenTest extends TestCase { ->with('alice', 'core', 'fingerprintToken', null) ->willReturn('encryptedToken'); $this->config->expects($this->any()) - ->method('getSystemValue') + ->method('getSystemValueString') ->with('secret') ->willReturn('357111317'); |