mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
test(account): expect validation to refuse a non-ID-token provider
The provider whitelist no longer holds every OAuth provider, so github is refused by the parameter before the action runs and never reaches the PROJECT_PROVIDER_UNSUPPORTED guard.
This commit is contained in:
1 file changed
+2
-1
@@ -5905,7 +5905,8 @@ final class AccountCustomClientTest extends Scope
|
||||
]);
|
||||
|
||||
$this->assertEquals(400, $response['headers']['status-code']);
|
||||
$this->assertEquals('project_provider_unsupported', $response['body']['type']);
|
||||
$this->assertEquals('general_argument_invalid', $response['body']['type']);
|
||||
$this->assertStringContainsString('provider', (string) $response['body']['message']);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user