From 6a01e5e2b7211d7b91a93e967ce92ed50dc55a0f Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Fri, 18 Sep 2026 15:07:45 +0100 Subject: [PATCH] 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. --- tests/e2e/Services/Account/AccountCustomClientTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/e2e/Services/Account/AccountCustomClientTest.php b/tests/e2e/Services/Account/AccountCustomClientTest.php index 591f63568d..72890ade54 100644 --- a/tests/e2e/Services/Account/AccountCustomClientTest.php +++ b/tests/e2e/Services/Account/AccountCustomClientTest.php @@ -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']); } /**