Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java
index 8804f5db8..c2e5864a9 100644
--- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java
+++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java
@@ -319,6 +319,10 @@ public class TracRepositoryConnectorTest extends TestCase {
public void testDeleteNewTask() throws Exception {
ITracClient client = connector.getClientManager().getTracClient(repository);
+ if (client.getAccessMode() == Version.TRAC_0_9) {
+ // not supported in web mode
+ return;
+ }
TracTicket ticket = TracTestUtil.createTicket(client, "testDeleteNewTask");
String taskId = String.valueOf(ticket.getId());
ITask task = TracTestUtil.createTask(repository, taskId);
@@ -331,4 +335,5 @@ public class TracRepositoryConnectorTest extends TestCase {
assertTrue(e.getMessage().contains("does not exist"));
}
}
+
}

Back to the top