From 9404b888d1f85184d95110d7019f0b5632222822 Mon Sep 17 00:00:00 2001 From: Tomas Ondrusko <67582554+tondrusk@users.noreply.github.com> Date: Tue, 5 Mar 2024 10:22:51 +0100 Subject: [PATCH] Update disabled feature status code in social login tests Closes #27366 Signed-off-by: Tomas Ondrusko --- .../java/org/keycloak/testsuite/broker/SocialLoginTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/broker/SocialLoginTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/broker/SocialLoginTest.java index 85f8ebe4e1..7a155855de 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/broker/SocialLoginTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/broker/SocialLoginTest.java @@ -643,7 +643,7 @@ public class SocialLoginTest extends AbstractKeycloakTest { Assert.assertEquals(1, users.size()); String username = users.get(0).getUsername(); - checkFeature(501, username); + checkFeature(400, username); testingClient.enableFeature(Profile.Feature.TOKEN_EXCHANGE); @@ -730,7 +730,7 @@ public class SocialLoginTest extends AbstractKeycloakTest { } finally { httpClient.close(); testingClient.disableFeature(Profile.Feature.TOKEN_EXCHANGE); - checkFeature(501, username); + checkFeature(400, username); } } }