Skip to content

Commit

Permalink
Merge pull request #197 from integratedmodelling/IM-456-flaky-test
Browse files Browse the repository at this point in the history
IM-456 Extend the expiration date for a valid request
  • Loading branch information
iperdomo authored Sep 26, 2024
2 parents 753033e + d69aeb8 commit a232582
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public void anonymousGetReturnsOk() throws Exception {

@Test
public void validTokenReturnsOk() throws Exception {
long validTime = System.currentTimeMillis();
long validTime = System.currentTimeMillis() + oneHour;
mvc.perform(get("/").header("Authorization", getToken("valid.request", validTime))).andExpect(status().isOk());
}

Expand Down

0 comments on commit a232582

Please sign in to comment.