mirror of
https://github.com/google/nomulus
synced 2026-09-27 18:34:15 +00:00
Fix Optinal.absent() to Optional.<AuthResult>absent()
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=162223775
This commit is contained in:
@@ -420,7 +420,7 @@ public final class RequestHandlerTest {
|
|||||||
when(req.getMethod()).thenReturn("GET");
|
when(req.getMethod()).thenReturn("GET");
|
||||||
when(req.getRequestURI()).thenReturn("/auth/adminUser");
|
when(req.getRequestURI()).thenReturn("/auth/adminUser");
|
||||||
when(requestAuthenticator.authorize(AUTH_INTERNAL_OR_ADMIN.authSettings(), req))
|
when(requestAuthenticator.authorize(AUTH_INTERNAL_OR_ADMIN.authSettings(), req))
|
||||||
.thenReturn(Optional.absent());
|
.thenReturn(Optional.<AuthResult>absent());
|
||||||
|
|
||||||
handler.handleRequest(req, rsp);
|
handler.handleRequest(req, rsp);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user