Update tests that fail on Windows

Issue gh-14609
This commit is contained in:
Steve Riesenberg 2024-03-26 10:49:21 -05:00
parent 8bd6991976
commit 614123e6f9
No known key found for this signature in database
GPG Key ID: 3D0169B18AB8F0A9
2 changed files with 2 additions and 2 deletions

View File

@ -212,7 +212,7 @@ public class OidcLogoutConfigurerTests {
.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());
}

View File

@ -264,7 +264,7 @@ public class OidcLogoutSpecTests {
.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();
}