Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Blanchaert committed Jan 3, 2025
1 parent e7ee0e3 commit a9a9af3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -484,9 +484,9 @@ public void testMaybeTryHeadRequestHasContentType() throws Exception {
String url = getBaseUrl() + DEBUG_SERVLET_PATH;
try (HttpJdkSolrClient client = builder(url).build()) {
assertTrue(client.maybeTryHeadRequest(url));
assertEquals("head", DebugServlet.lastMethod);
assertTrue(DebugServlet.headers.containsKey("content-type"));
}
assertEquals("head", DebugServlet.lastMethod);
assertTrue(DebugServlet.headers.containsKey("content-type"));
}

/**
Expand Down

0 comments on commit a9a9af3

Please sign in to comment.