Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/client/TracClientFactoryTest.java')
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/client/TracClientFactoryTest.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/client/TracClientFactoryTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/client/TracClientFactoryTest.java
index 27a7a41db..31a6e5fc1 100644
--- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/client/TracClientFactoryTest.java
+++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/client/TracClientFactoryTest.java
@@ -49,12 +49,9 @@ public class TracClientFactoryTest extends TestCase {
}
public void testCreateClientNull() throws Exception {
- try {
- WebLocation location = new WebLocation(fixture.getRepositoryUrl(), "user", "password");
- TracClientFactory.createClient(location, null);
- fail("Expected Exception");
- } catch (Exception e) {
- }
+ WebLocation location = new WebLocation(fixture.getRepositoryUrl(), "user", "password");
+ ITracClient client = TracClientFactory.createClient(location, null);
+ assertEquals(Version.XML_RPC, client.getAccessMode());
}
public void testProbeClient() throws Exception {

Back to the top