From 482dfc9a59f284ff9bb1d8a442979496a2da130b Mon Sep 17 00:00:00 2001 From: Marcus Da Coregio Date: Fri, 29 Oct 2021 14:42:11 -0300 Subject: [PATCH] Fix formatting --- .../integTest/java/example/Saml2LoginApplicationITests.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/servlet/spring-boot/java/saml2/login/src/integTest/java/example/Saml2LoginApplicationITests.java b/servlet/spring-boot/java/saml2/login/src/integTest/java/example/Saml2LoginApplicationITests.java index bd0fe33..2ddcfaf 100644 --- a/servlet/spring-boot/java/saml2/login/src/integTest/java/example/Saml2LoginApplicationITests.java +++ b/servlet/spring-boot/java/saml2/login/src/integTest/java/example/Saml2LoginApplicationITests.java @@ -74,8 +74,7 @@ public class Saml2LoginApplicationITests { @Test void indexWhenSamlResponseThenShowsUserInformation() throws Exception { HttpSession session = this.mvc.perform(get("http://localhost:8080/")).andExpect(status().is3xxRedirection()) - .andExpect(redirectedUrl("http://localhost:8080/login")).andReturn().getRequest() - .getSession(); + .andExpect(redirectedUrl("http://localhost:8080/login")).andReturn().getRequest().getSession(); this.mvc.perform(post("http://localhost:8080/login/saml2/sso/one").param("SAMLResponse", SIGNED_RESPONSE) .session((MockHttpSession) session)).andExpect(redirectedUrl("http://localhost:8080/"));