From 2be61e1881a9901ceb9207cbfbfde10852f7811e Mon Sep 17 00:00:00 2001 From: Mark Collin Date: Wed, 8 Nov 2017 21:59:18 -0500 Subject: [PATCH] #68 Remove assertion, on a command line run this sometimes picks up system proxies and causes the test to fail --- .../lazerycode/selenium/download/DetectProxyConfigTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/test/java/com/lazerycode/selenium/download/DetectProxyConfigTest.java b/src/test/java/com/lazerycode/selenium/download/DetectProxyConfigTest.java index 2cdfa73..9b3c90c 100644 --- a/src/test/java/com/lazerycode/selenium/download/DetectProxyConfigTest.java +++ b/src/test/java/com/lazerycode/selenium/download/DetectProxyConfigTest.java @@ -64,9 +64,7 @@ public void propertyOverridesEnvVariable() throws Exception { } @Test - public void nullProxyHostOrProxyPort() throws Exception { + public void nullProxyHostOrProxyPortDoesNotCauseANullPointerErrorToBeThrown() throws Exception { DetectProxyConfig proxyConfig = new DetectProxyConfig(); - - assertThat(proxyConfig.isProxyAvailable(), is(equalTo(false))); } }