From 46c252791b46b7d6c0ee5ea700c0206163022bae Mon Sep 17 00:00:00 2001 From: OrDTesters Date: Tue, 6 Nov 2018 16:25:14 -0600 Subject: [PATCH] Resetting ConnectionFactory so tests that follow do not fail --- .../test/java/com/github/kevinsawicki/http/HttpRequestTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/test/java/com/github/kevinsawicki/http/HttpRequestTest.java b/lib/src/test/java/com/github/kevinsawicki/http/HttpRequestTest.java index 138976b0..47c90aaf 100644 --- a/lib/src/test/java/com/github/kevinsawicki/http/HttpRequestTest.java +++ b/lib/src/test/java/com/github/kevinsawicki/http/HttpRequestTest.java @@ -3477,6 +3477,7 @@ public HttpURLConnection create(URL url, Proxy proxy) throws IOException { HttpRequest.setConnectionFactory(factory); int code = get("http://not/a/real/url").code(); assertEquals(200, code); + HttpRequest.setConnectionFactory(null); } /**