Skip to content

Commit c0c5c37

Browse files
author
Michael
committed
(Refactor): #1 changed "testName" string to hostname => not hardcode
closes #1
1 parent 3587914 commit c0c5c37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/jabref/logic/net/ProxyTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public void testProxyPreferencesStorePassword() {
9292
password);
9393
//Check if mock data is stored in object memory and can be extracted
9494
assertEquals(proxyPref.shouldUseProxy(), true);
95-
assertEquals(proxyPref.getHostname(), "testName");
95+
assertEquals(proxyPref.getHostname(), hostname);
9696
assertEquals(proxyPref.getPort(), port);
9797
assertEquals(proxyPref.shouldUseAuthentication(), true);
9898
assertEquals(proxyPref.getUsername(), username);

0 commit comments

Comments
 (0)