Update disabled feature status code in social login tests

Closes #27366

Signed-off-by: Tomas Ondrusko <tondrusk@redhat.com>
This commit is contained in:
Tomas Ondrusko 2024-03-05 10:22:51 +01:00 committed by GitHub
parent be7775a9be
commit 9404b888d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
}
}
}