Skip to content

Commit

Permalink
Update tests that fail on Windows
Browse files Browse the repository at this point in the history
Issue gh-14609
  • Loading branch information
sjohnr committed Mar 26, 2024
1 parent 8bd6991 commit 614123e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ void logoutWhenRemoteLogoutUriThenUses() throws Exception {
.param("logout_token", logoutToken))
.andExpect(status().isBadRequest())
.andExpect(content().string(containsString("partial_logout")))
.andExpect(content().string(containsString("Connection refused")));
.andExpect(content().string(containsString("not all sessions were terminated")));
this.mvc.perform(get("/token/logout").session(one)).andExpect(status().isOk());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ void logoutWhenRemoteLogoutUriThenUses() {
.isBadRequest()
.expectBody(String.class)
.value(containsString("partial_logout"))
.value(containsString("Connection refused"));
.value(containsString("not all sessions were terminated"));
this.test.get().uri("/token/logout").cookie("SESSION", one).exchange().expectStatus().isOk();
}

Expand Down

0 comments on commit 614123e

Please sign in to comment.