fixed unit test

1.0.x
Justin Richer 2014-11-22 21:53:06 -05:00
parent 3b2271994f
commit cf4845bf30
1 changed files with 1 additions and 0 deletions

View File

@ -119,6 +119,7 @@ public class TestDefaultOAuth2ProviderTokenService {
Mockito.when(refreshToken.isExpired()).thenReturn(false);
authRequest = Mockito.mock(AuthorizationRequest.class);
Mockito.when(authRequest.getClientId()).thenReturn(clientId);
storedAuthRequest = Mockito.mock(AuthorizationRequest.class);
storedAuthentication = Mockito.mock(OAuth2Authentication.class);