Fix formatting
This commit is contained in:
parent
7426260ee1
commit
482dfc9a59
|
@ -74,8 +74,7 @@ public class Saml2LoginApplicationITests {
|
||||||
@Test
|
@Test
|
||||||
void indexWhenSamlResponseThenShowsUserInformation() throws Exception {
|
void indexWhenSamlResponseThenShowsUserInformation() throws Exception {
|
||||||
HttpSession session = this.mvc.perform(get("http://localhost:8080/")).andExpect(status().is3xxRedirection())
|
HttpSession session = this.mvc.perform(get("http://localhost:8080/")).andExpect(status().is3xxRedirection())
|
||||||
.andExpect(redirectedUrl("http://localhost:8080/login")).andReturn().getRequest()
|
.andExpect(redirectedUrl("http://localhost:8080/login")).andReturn().getRequest().getSession();
|
||||||
.getSession();
|
|
||||||
|
|
||||||
this.mvc.perform(post("http://localhost:8080/login/saml2/sso/one").param("SAMLResponse", SIGNED_RESPONSE)
|
this.mvc.perform(post("http://localhost:8080/login/saml2/sso/one").param("SAMLResponse", SIGNED_RESPONSE)
|
||||||
.session((MockHttpSession) session)).andExpect(redirectedUrl("http://localhost:8080/"));
|
.session((MockHttpSession) session)).andExpect(redirectedUrl("http://localhost:8080/"));
|
||||||
|
|
Loading…
Reference in New Issue