Skip to content

Commit 5855604

Browse files
Format file
Signed-off-by: Tran Ngoc Nhan <[email protected]>
1 parent 14092b5 commit 5855604

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

saml2/saml2-service-provider/src/test/java/org/springframework/security/saml2/provider/service/web/Saml2AuthenticationTokenConverterTests.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,13 +233,14 @@ public void setAuthenticationRequestRepositoryWhenNullThenIllegalArgument() {
233233
@Test
234234
public void convertWhenGetRequestWithoutInflate() {
235235
Saml2AuthenticationTokenConverter converter = new Saml2AuthenticationTokenConverter(
236-
this.relyingPartyRegistrationResolver);
236+
this.relyingPartyRegistrationResolver);
237237
converter.setShouldInflateResponse(false);
238238
given(this.relyingPartyRegistrationResolver.resolve(any(HttpServletRequest.class), any()))
239239
.willReturn(this.relyingPartyRegistration);
240240
MockHttpServletRequest request = new MockHttpServletRequest();
241241
request.setMethod("GET");
242-
request.setParameter(Saml2ParameterNames.SAML_RESPONSE, Saml2Utils.samlEncode("response".getBytes(StandardCharsets.UTF_8)));
242+
request.setParameter(Saml2ParameterNames.SAML_RESPONSE,
243+
Saml2Utils.samlEncode("response".getBytes(StandardCharsets.UTF_8)));
243244
Saml2AuthenticationToken token = converter.convert(request);
244245
assertThat(token.getSaml2Response()).isEqualTo("response");
245246
assertThat(token.getRelyingPartyRegistration().getRegistrationId())

0 commit comments

Comments
 (0)