summaryrefslogtreecommitdiff
path: root/test/net
diff options
context:
space:
mode:
Diffstat (limited to 'test/net')
-rw-r--r--test/net/yacy/cora/document/id/DigestURLTest.java2
-rw-r--r--test/net/yacy/cora/document/id/MultiProtocolURLTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/net/yacy/cora/document/id/DigestURLTest.java b/test/net/yacy/cora/document/id/DigestURLTest.java
index 227fe9858..587a4ee27 100644
--- a/test/net/yacy/cora/document/id/DigestURLTest.java
+++ b/test/net/yacy/cora/document/id/DigestURLTest.java
@@ -21,7 +21,7 @@ public class DigestURLTest extends TestCase {
String shouldBe = testStrings[i][1];
// conversion result
- String resolvedURL = (new DigestURL(testStrings[i][0])).toString();
+ String resolvedURL = (new DigestURL(testStrings[i][0])).toNormalform(false);
// test if equal
assertEquals(shouldBe, resolvedURL);
diff --git a/test/net/yacy/cora/document/id/MultiProtocolURLTest.java b/test/net/yacy/cora/document/id/MultiProtocolURLTest.java
index aae13fa1a..394fc1a25 100644
--- a/test/net/yacy/cora/document/id/MultiProtocolURLTest.java
+++ b/test/net/yacy/cora/document/id/MultiProtocolURLTest.java
@@ -55,7 +55,7 @@ public class MultiProtocolURLTest {
// conversion result
String resolvedURL = "";
try {
- resolvedURL = (new MultiProtocolURL(testhost + testStrings[i][0])).toString();
+ resolvedURL = (new MultiProtocolURL(testhost + testStrings[i][0])).toNormalform(false);
} catch (final MalformedURLException ex) {
fail("malformed URL");
}