diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2024-06-12 11:05:43 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2024-06-12 11:25:35 +0200 |
commit | 4ec174197f3ee47631193f7941ef656ce6b06be1 (patch) | |
tree | 9c7c7a2b37fd4ffeeae746405fd1ad91b71c1be0 /tests | |
parent | 86a496d58980cc3dd578368c9d8e5f951ec01f17 (diff) | |
download | nextcloud-server-4ec174197f3ee47631193f7941ef656ce6b06be1.tar.gz nextcloud-server-4ec174197f3ee47631193f7941ef656ce6b06be1.zip |
fix(Token): make new scope future compatible
- "password-unconfirmable" is the effective name for 30, but a draft
name was backported.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/AppFramework/Middleware/Security/PasswordConfirmationMiddlewareTest.php | 2 |
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) |