Skip to content

Commit

Permalink
fix LoginApiTest.testVerify() bug
Browse files Browse the repository at this point in the history
Change-Id: I15dc155de14085706a510b63bc8c361bc0f278a7
  • Loading branch information
zhoney committed Oct 21, 2021
1 parent 7382280 commit eb34868
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ private Response deleteUser(String id) {
private Response login(String name, String password) {
String login = Paths.get(PATH, "login").toString();
String loginUser = "{\"user_name\":\"%s\"," +
"\"user_password\":\"%s\"}";
"\"user_password\":\"%s\"," +
"\"token_expire\":10080}";

return client().post(login, String.format(loginUser,
name, password));
Expand Down

0 comments on commit eb34868

Please sign in to comment.