Skip to content

Commit

Permalink
#68 Remove assertion, on a command line run this sometimes picks up s…
Browse files Browse the repository at this point in the history
…ystem proxies and causes the test to fail
  • Loading branch information
Ardesco committed Nov 9, 2017
1 parent 56e9723 commit 2be61e1
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
}
}

0 comments on commit 2be61e1

Please sign in to comment.