mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-02-22 22:50:11 +01:00
fix tests and adjust cookie duration
This commit is contained in:
@@ -121,8 +121,6 @@ public class DefaultAccessTokenCookieIssuerTest {
|
||||
}
|
||||
|
||||
private Cookie authenticate() {
|
||||
when(accessToken.getExpiration()).thenReturn(new Date());
|
||||
|
||||
issuer.authenticate(request, response, accessToken);
|
||||
|
||||
verify(response).addCookie(cookieArgumentCaptor.capture());
|
||||
|
||||
Reference in New Issue
Block a user