mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-28 14:52:24 +00:00
Fix whitespace
This commit is contained in:
parent
f4491f388e
commit
bea232237f
@ -187,8 +187,8 @@ public class WebAuthnConfigurerTests {
|
||||
TestingAuthenticationToken user = new TestingAuthenticationToken("user", "password", "ROLE_USER");
|
||||
SecurityContextHolder.setContext(new SecurityContextImpl(user));
|
||||
PublicKeyCredentialCreationOptions options = TestPublicKeyCredentialCreationOptions
|
||||
.createPublicKeyCredentialCreationOptions()
|
||||
.build();
|
||||
.createPublicKeyCredentialCreationOptions()
|
||||
.build();
|
||||
WebAuthnRelyingPartyOperations rpOperations = mock(WebAuthnRelyingPartyOperations.class);
|
||||
ConfigMessageConverter.rpOperations = rpOperations;
|
||||
given(rpOperations.createPublicKeyCredentialCreationOptions(any())).willReturn(options);
|
||||
@ -203,8 +203,8 @@ public class WebAuthnConfigurerTests {
|
||||
ConfigMessageConverter.converter = converter;
|
||||
this.spring.register(ConfigMessageConverter.class).autowire();
|
||||
this.mvc.perform(post("/webauthn/register/options"))
|
||||
.andExpect(status().isOk())
|
||||
.andExpect(content().string(expectedBody));
|
||||
.andExpect(status().isOk())
|
||||
.andExpect(content().string(expectedBody));
|
||||
}
|
||||
|
||||
@Configuration
|
||||
|
Loading…
x
Reference in New Issue
Block a user