From 66665344c5a3dd95a4b3b865f4793bd2bfce9c2f Mon Sep 17 00:00:00 2001 From: Josh Cummings Date: Tue, 28 Feb 2023 13:38:12 -0700 Subject: [PATCH] Formatting Issue gh-12664 --- .../registration/RelyingPartyRegistrationsTests.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/saml2/saml2-service-provider/src/test/java/org/springframework/security/saml2/provider/service/registration/RelyingPartyRegistrationsTests.java b/saml2/saml2-service-provider/src/test/java/org/springframework/security/saml2/provider/service/registration/RelyingPartyRegistrationsTests.java index ce763b40a0..06148f183a 100644 --- a/saml2/saml2-service-provider/src/test/java/org/springframework/security/saml2/provider/service/registration/RelyingPartyRegistrationsTests.java +++ b/saml2/saml2-service-provider/src/test/java/org/springframework/security/saml2/provider/service/registration/RelyingPartyRegistrationsTests.java @@ -246,15 +246,15 @@ public class RelyingPartyRegistrationsTests { @Test public void collectionFromMetadataLocationCanHandleFederationMetadata() { - Collection federationMetadataWithSkippedSPEntries = - RelyingPartyRegistrations.collectionFromMetadataLocation("classpath:test-federated-metadata.xml"); + Collection federationMetadataWithSkippedSPEntries = RelyingPartyRegistrations + .collectionFromMetadataLocation("classpath:test-federated-metadata.xml"); assertThat(federationMetadataWithSkippedSPEntries.size()).isEqualTo(1); } @Test public void collectionFromMetadataLocationWithoutIdpThenSaml2Exception() { - assertThatExceptionOfType(Saml2Exception.class) - .isThrownBy(() -> RelyingPartyRegistrations - .collectionFromMetadataLocation("classpath:test-metadata-without-idp.xml")); + assertThatExceptionOfType(Saml2Exception.class).isThrownBy(() -> RelyingPartyRegistrations + .collectionFromMetadataLocation("classpath:test-metadata-without-idp.xml")); } + }