Skip to content

Commit

Permalink
(Refactor): #1 changed "testName" string to hostname => not hardcode
Browse files Browse the repository at this point in the history
closes #1
  • Loading branch information
Michael committed Mar 2, 2023
1 parent 3587914 commit c0c5c37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/org/jabref/logic/net/ProxyTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public void testProxyPreferencesStorePassword() {
password);
//Check if mock data is stored in object memory and can be extracted
assertEquals(proxyPref.shouldUseProxy(), true);
assertEquals(proxyPref.getHostname(), "testName");
assertEquals(proxyPref.getHostname(), hostname);
assertEquals(proxyPref.getPort(), port);
assertEquals(proxyPref.shouldUseAuthentication(), true);
assertEquals(proxyPref.getUsername(), username);
Expand Down

0 comments on commit c0c5c37

Please sign in to comment.