KEYCLOAK-17665 Use setQueryString
Co-authored-by: Michal Hajas <mhajas@redhat.com>
This commit is contained in:
parent
5d3f80ab57
commit
6f86241f60
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ public class KeycloakAuthenticationEntryPointTest {
|
|||
@Test
|
||||
public void testCommenceWithRedirectAndQueryParameters() throws Exception {
|
||||
configureBrowserRequest();
|
||||
request.addParameter("prompt", "login");
|
||||
request.setQueryString("prompt=login");
|
||||
authenticationEntryPoint.commence(request, response, null);
|
||||
assertEquals(HttpStatus.FOUND.value(), response.getStatus());
|
||||
assertNotEquals(KeycloakAuthenticationEntryPoint.DEFAULT_LOGIN_URI, response.getHeader("Location"));
|
||||
|
|
Loading…
Reference in a new issue