mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 16:37:13 +02: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:
parent
e224a67eda
commit
f587d82c8b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue