Update disabled feature status code in social login tests
Closes #27366 Signed-off-by: Tomas Ondrusko <tondrusk@redhat.com>
This commit is contained in:
parent
be7775a9be
commit
9404b888d1
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue