Skip to content

Commit 2be61e1

Browse files
committed
#68 Remove assertion, on a command line run this sometimes picks up system proxies and causes the test to fail
1 parent 56e9723 commit 2be61e1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/test/java/com/lazerycode/selenium/download/DetectProxyConfigTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@ public void propertyOverridesEnvVariable() throws Exception {
6464
}
6565

6666
@Test
67-
public void nullProxyHostOrProxyPort() throws Exception {
67+
public void nullProxyHostOrProxyPortDoesNotCauseANullPointerErrorToBeThrown() throws Exception {
6868
DetectProxyConfig proxyConfig = new DetectProxyConfig();
69-
70-
assertThat(proxyConfig.isProxyAvailable(), is(equalTo(false)));
7169
}
7270
}

0 commit comments

Comments
 (0)