mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Fix test that failed due to upgrade to HtmlUnit 2.20
This commit is contained in:
+1
-1
@@ -124,7 +124,7 @@ public class MockMvcHtmlUnitDriverBuilderTests {
|
||||
assertThat(get("http://localhost/"), equalTo(""));
|
||||
Cookie cookie = new Cookie("localhost", "cookie", "cookieManagerShared");
|
||||
otherDriver.getWebClient().getCookieManager().addCookie(cookie);
|
||||
assertThat(get("http://localhost/"), equalTo("cookieManagerShared"));
|
||||
assertThat(get("http://localhost/"), containsString("cookieManagerShared"));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user