Skip to content

Commit

Permalink
[ISSUE alibaba#8417] retry ci
Browse files Browse the repository at this point in the history
  • Loading branch information
onewe committed May 23, 2022
1 parent 6c5cdd7 commit 9c005b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public void testLoginWithAuthedUser() throws AccessException {
public void testSessionExpiredThrowHttpSessionRequiredException() throws IOException {
when(authConfigs.isAuthEnabled()).thenReturn(true);
when(request.getSession()).thenReturn(new MockHttpSession());
Object o = userController.updateUser("nacos", "qwe123", response, request);
Object o = userController.updateUser("nacos", "qwe1234", response, request);
Assert.assertNull(o);
verify(response).sendError(eq(HttpServletResponse.SC_UNAUTHORIZED), eq("session expired!"));
}
Expand Down

0 comments on commit 9c005b5

Please sign in to comment.