summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.http.test/tst
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jgit.http.test/tst')
-rw-r--r--org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/HttpClientTests.java4
-rw-r--r--org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/HttpClientTests.java b/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/HttpClientTests.java
index 4cc141bb41..9c4b3ee09d 100644
--- a/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/HttpClientTests.java
+++ b/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/HttpClientTests.java
@@ -280,7 +280,7 @@ public class HttpClientTests extends HttpTestCase {
t.openFetch();
fail("connection opened even info/refs needs auth basic");
} catch (TransportException err) {
- String status = "401 Unauthorized";
+ String status = "authentication not supported";
String exp = dumbAuthBasicURI + ": " + status;
assertEquals(exp, err.getMessage());
}
@@ -297,7 +297,7 @@ public class HttpClientTests extends HttpTestCase {
t.openFetch();
fail("connection opened even though service disabled");
} catch (TransportException err) {
- String status = "401 Unauthorized";
+ String status = "authentication not supported";
String exp = smartAuthBasicURI + ": " + status;
assertEquals(exp, err.getMessage());
}
diff --git a/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java b/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java
index a7b51c6819..87e2555a6c 100644
--- a/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java
+++ b/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java
@@ -398,7 +398,7 @@ public class SmartClientSmartServerTest extends HttpTestCase {
t.push(NullProgressMonitor.INSTANCE, Collections.singleton(u));
fail("anonymous push incorrectly accepted without error");
} catch (TransportException e) {
- final String status = "401 Unauthorized";
+ final String status = "authentication not supported";
final String exp = remoteURI.toString() + ": " + status;
assertEquals(exp, e.getMessage());
}