diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2011-11-30 17:40:10 -0800 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2011-11-30 17:40:10 -0800 |
commit | cea935ab1b6caf52b31dfd4eae9696dfcc0593a2 (patch) | |
tree | f62cc0779b196109879ce16ba23f0c43d469915d /org.eclipse.jgit.http.test/tst/org | |
parent | 2238fc9358471db5bf882c4018b3d305b04b20bd (diff) | |
download | jgit-cea935ab1b6caf52b31dfd4eae9696dfcc0593a2.tar.gz jgit-cea935ab1b6caf52b31dfd4eae9696dfcc0593a2.zip |
Fix HTTP unit tests
I modified the way errors are returned, and this particular test is
now getting a different access denied response. The new text happens
to be what I intended to have here, so update the test.
Change-Id: I53f8410ca0a52755d80473cd5cbcdb4d8502febf
Diffstat (limited to 'org.eclipse.jgit.http.test/tst/org')
-rw-r--r-- | org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/HttpClientTests.java | 3 |
1 files changed, 1 insertions, 2 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 35989e88eb..8641c3ad0f 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 @@ -368,8 +368,7 @@ public class HttpClientTests extends HttpTestCase { t.openFetch(); fail("connection opened even though service disabled"); } catch (TransportException err) { - String exp = smartAuthNoneURI - + ": git-upload-pack not permitted"; + String exp = smartAuthNoneURI + ": Git access forbidden"; assertEquals(exp, err.getMessage()); } } finally { |