Skip to content

Commit 335dff6

Browse files
committed
Fix Formatting
1 parent 0b0ffa0 commit 335dff6

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@ public void withMetadataUrlLocationWhenResolvableThenFindByEntityIdReturns() thr
9292
try (MockWebServer server = new MockWebServer()) {
9393
server.setDispatcher(new AlwaysDispatch(this.metadata));
9494
AssertingPartyMetadataRepository parties = OpenSamlAssertingPartyMetadataRepository
95-
.withTrustedMetadataLocation(server.url("/").toString())
96-
.build();
95+
.withTrustedMetadataLocation(server.url("/").toString())
96+
.build();
9797
AssertingPartyMetadata party = parties.findByEntityId("https://idp.example.com/idp/shibboleth");
9898
assertThat(party.getEntityId()).isEqualTo("https://idp.example.com/idp/shibboleth");
9999
assertThat(party.getSingleSignOnServiceLocation())
100-
.isEqualTo("https://idp.example.com/idp/profile/SAML2/POST/SSO");
100+
.isEqualTo("https://idp.example.com/idp/profile/SAML2/POST/SSO");
101101
assertThat(party.getSingleSignOnServiceBinding()).isEqualTo(Saml2MessageBinding.POST);
102102
assertThat(party.getVerificationX509Credentials()).hasSize(1);
103103
assertThat(party.getEncryptionX509Credentials()).hasSize(1);
@@ -360,7 +360,9 @@ private static final class AlwaysDispatch extends Dispatcher {
360360
private final MockResponse response;
361361

362362
private AlwaysDispatch(String body) {
363-
this.response = new MockResponse().setBody(body).setResponseCode(200).setBodyDelay(1, TimeUnit.MILLISECONDS);
363+
this.response = new MockResponse().setBody(body)
364+
.setResponseCode(200)
365+
.setBodyDelay(1, TimeUnit.MILLISECONDS);
364366
}
365367

366368
private AlwaysDispatch(MockResponse response) {

0 commit comments

Comments
 (0)