소스 검색

Fix formatting

Marcus Da Coregio 3 년 전
부모
커밋
482dfc9a59
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      servlet/spring-boot/java/saml2/login/src/integTest/java/example/Saml2LoginApplicationITests.java

+ 1 - 2
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/"));