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:
Chirag Aggarwal committed 2026-09-18 15:07:45 +01:00
1 parent 3390f9d2ba
commit 6a01e5e2b7
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']);
}
/**