Fix Optinal.absent() to Optional.<AuthResult>absent()

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=162223775
This commit is contained in:
guyben 2017-07-17 09:29:44 -07:00 committed by Ben McIlwain
parent e224a67eda
commit f587d82c8b

View file

@ -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);