瀏覽代碼

Fix Formatting

Josh Cummings 1 年之前
父節點
當前提交
335dff63c1

+ 6 - 4
saml2/saml2-service-provider/src/test/java/org/springframework/security/saml2/provider/service/registration/OpenSamlAssertingPartyMetadataRepositoryTests.java

@@ -92,12 +92,12 @@ public class OpenSamlAssertingPartyMetadataRepositoryTests {
 		try (MockWebServer server = new MockWebServer()) {
 			server.setDispatcher(new AlwaysDispatch(this.metadata));
 			AssertingPartyMetadataRepository parties = OpenSamlAssertingPartyMetadataRepository
-					.withTrustedMetadataLocation(server.url("/").toString())
-					.build();
+				.withTrustedMetadataLocation(server.url("/").toString())
+				.build();
 			AssertingPartyMetadata party = parties.findByEntityId("https://idp.example.com/idp/shibboleth");
 			assertThat(party.getEntityId()).isEqualTo("https://idp.example.com/idp/shibboleth");
 			assertThat(party.getSingleSignOnServiceLocation())
-					.isEqualTo("https://idp.example.com/idp/profile/SAML2/POST/SSO");
+				.isEqualTo("https://idp.example.com/idp/profile/SAML2/POST/SSO");
 			assertThat(party.getSingleSignOnServiceBinding()).isEqualTo(Saml2MessageBinding.POST);
 			assertThat(party.getVerificationX509Credentials()).hasSize(1);
 			assertThat(party.getEncryptionX509Credentials()).hasSize(1);
@@ -360,7 +360,9 @@ public class OpenSamlAssertingPartyMetadataRepositoryTests {
 		private final MockResponse response;
 
 		private AlwaysDispatch(String body) {
-			this.response = new MockResponse().setBody(body).setResponseCode(200).setBodyDelay(1, TimeUnit.MILLISECONDS);
+			this.response = new MockResponse().setBody(body)
+				.setResponseCode(200)
+				.setBodyDelay(1, TimeUnit.MILLISECONDS);
 		}
 
 		private AlwaysDispatch(MockResponse response) {