mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Fix compile error in tests that doesn’t affect the compiler in Eclipse
This commit is contained in:
parent
0cdf19a4cb
commit
291955613f
@ -131,8 +131,8 @@ public class OAuth2AutoConfigurationTests {
|
||||
ClientDetails clientDetails = clientDetailsService.loadClientByClientId(config
|
||||
.getClientId());
|
||||
assertThat(AopUtils.isJdkDynamicProxy(clientDetailsService), equalTo(true));
|
||||
assertThat(AopUtils.getTargetClass(clientDetailsService),
|
||||
is(equalTo(InMemoryClientDetailsService.class)));
|
||||
assertThat(AopUtils.getTargetClass(clientDetailsService).getName(),
|
||||
is(equalTo(InMemoryClientDetailsService.class.getName())));
|
||||
assertThat(handler instanceof ApprovalStoreUserApprovalHandler, equalTo(true));
|
||||
assertThat(clientDetails, equalTo(config));
|
||||
verifyAuthentication(config);
|
||||
|
Loading…
Reference in New Issue
Block a user