Skip to content

Commit 79c7e30

Browse files
committed
Fix SockJsServiceTests
Issue: SPR-12422
1 parent 6c58258 commit 79c7e30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-websocket/src/test/java/org/springframework/web/socket/sockjs/support/SockJsServiceTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,12 +214,12 @@ public void handleIframeRequest() throws Exception {
214214
assertTrue(this.servletResponse.getContentAsString().startsWith("<!DOCTYPE html>\n"));
215215
assertEquals(490, this.servletResponse.getContentLength());
216216
assertEquals("no-store, no-cache, must-revalidate, max-age=0", this.response.getHeaders().getCacheControl());
217-
assertEquals("\"06b486b3208b085d9e3220f456a6caca4\"", this.response.getHeaders().getETag());
217+
assertEquals("\"0096cbd37f2a5218c33bb0826a7c74cbf\"", this.response.getHeaders().getETag());
218218
}
219219

220220
@Test
221221
public void handleIframeRequestNotModified() throws Exception {
222-
this.servletRequest.addHeader("If-None-Match", "\"06b486b3208b085d9e3220f456a6caca4\"");
222+
this.servletRequest.addHeader("If-None-Match", "\"0096cbd37f2a5218c33bb0826a7c74cbf\"");
223223
resetResponseAndHandleRequest("GET", "/echo/iframe.html", HttpStatus.NOT_MODIFIED);
224224
}
225225

0 commit comments

Comments
 (0)