aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2024-06-12 19:01:49 +0200
committerGitHub <noreply@github.com>2024-06-12 19:01:49 +0200
commit3a17ec6db7c765aed45efac6a5f15d3bbb59b75f (patch)
tree569c920c16889b344da8913f10349ad90e9d083c /tests
parent01a13925bc92e7af6b35e9a561d6a6fe88976790 (diff)
parentfc584b78746bfff6e9f396417767afcca25f40f6 (diff)
downloadnextcloud-server-3a17ec6db7c765aed45efac6a5f15d3bbb59b75f.tar.gz
nextcloud-server-3a17ec6db7c765aed45efac6a5f15d3bbb59b75f.zip
Merge pull request #45809 from nextcloud/fix/noid/fix-new-token-scope-name
[stable29] fix(Token): make new scope future compatible
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/AppFramework/Middleware/Security/PasswordConfirmationMiddlewareTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/AppFramework/Middleware/Security/PasswordConfirmationMiddlewareTest.php b/tests/lib/AppFramework/Middleware/Security/PasswordConfirmationMiddlewareTest.php
index ed51837acbf..280a10fe90a 100644
--- a/tests/lib/AppFramework/Middleware/Security/PasswordConfirmationMiddlewareTest.php
+++ b/tests/lib/AppFramework/Middleware/Security/PasswordConfirmationMiddlewareTest.php
@@ -198,7 +198,7 @@ class PasswordConfirmationMiddlewareTest extends TestCase {
$token = $this->createMock(IToken::class);
$token->method('getScopeAsArray')
- ->willReturn(['sso-based-login' => true]);
+ ->willReturn(['password-unconfirmable' => true]);
$this->tokenProvider->expects($this->once())
->method('getToken')
->with($sessionId)