|
|
|
@ -53,7 +53,6 @@ public class JwtTokenFactoryTest { |
|
|
|
private JwtTokenFactory tokenFactory; |
|
|
|
private AdminSettingsService adminSettingsService; |
|
|
|
private JwtSettingsService jwtSettingsService; |
|
|
|
private JwtTokenFactory jwtTokenFactory; |
|
|
|
|
|
|
|
private JwtSettings jwtSettings; |
|
|
|
|
|
|
|
@ -171,7 +170,7 @@ public class JwtTokenFactoryTest { |
|
|
|
} |
|
|
|
|
|
|
|
private DefaultJwtSettingsService mockJwtSettingsService() { |
|
|
|
return new DefaultJwtSettingsService(adminSettingsService, Optional.empty(), new DefaultJwtSettingsValidator(), jwtTokenFactory); |
|
|
|
return new DefaultJwtSettingsService(adminSettingsService, Optional.empty(), new DefaultJwtSettingsValidator(), Optional.empty()); |
|
|
|
} |
|
|
|
|
|
|
|
private void checkExpirationTime(JwtToken jwtToken, int tokenLifetime) { |
|
|
|
|