fixed unit test
parent
3b2271994f
commit
cf4845bf30
|
@ -119,6 +119,7 @@ public class TestDefaultOAuth2ProviderTokenService {
|
||||||
Mockito.when(refreshToken.isExpired()).thenReturn(false);
|
Mockito.when(refreshToken.isExpired()).thenReturn(false);
|
||||||
|
|
||||||
authRequest = Mockito.mock(AuthorizationRequest.class);
|
authRequest = Mockito.mock(AuthorizationRequest.class);
|
||||||
|
Mockito.when(authRequest.getClientId()).thenReturn(clientId);
|
||||||
|
|
||||||
storedAuthRequest = Mockito.mock(AuthorizationRequest.class);
|
storedAuthRequest = Mockito.mock(AuthorizationRequest.class);
|
||||||
storedAuthentication = Mockito.mock(OAuth2Authentication.class);
|
storedAuthentication = Mockito.mock(OAuth2Authentication.class);
|
||||||
|
|
Loading…
Reference in New Issue