summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2012-02-06 14:32:31 (EST)
committer Steffen Pingel2012-02-06 14:32:31 (EST)
commitc52a7e95d12787bde8baa76ff5a5a41f4abcbd50 (patch)
tree230d1b26f9233ae4b4f652e92561de860f3954df
parent8a3c2adea6079e2ae1f2bff95c0d15ac708125cf (diff)
downloadorg.eclipse.mylyn.tasks-c52a7e95d12787bde8baa76ff5a5a41f4abcbd50.zip
org.eclipse.mylyn.tasks-c52a7e95d12787bde8baa76ff5a5a41f4abcbd50.tar.gz
org.eclipse.mylyn.tasks-c52a7e95d12787bde8baa76ff5a5a41f4abcbd50.tar.bz2
RESOLVED - bug 369697: force update of repository configuration
https://bugs.eclipse.org/bugs/show_bug.cgi?id=369697 Change-Id: I461bfa185edd07be5fe98923604b737ce20abd87
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/core/TracRepositoryConnectorTest.java2
1 files changed, 2 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 62cfdb8..ef44eab 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
@@ -246,6 +246,7 @@ public class TracRepositoryConnectorTest extends TestCase {
TracTaskDataHandler taskDataHandler = connector.getTaskDataHandler();
ITracClient client = connector.getClientManager().getTracClient(repository);
+ client.updateAttributes(new NullProgressMonitor(), false);
TaskData taskData = taskDataHandler.createTaskDataFromTicket(client, repository, ticket, null);
ITask task = TasksUi.getRepositoryModel().createTask(repository, taskData.getTaskId());
@@ -260,6 +261,7 @@ public class TracRepositoryConnectorTest extends TestCase {
public void testUpdateTaskFromTaskDataSummaryOnly() throws Exception {
TracTaskDataHandler taskDataHandler = connector.getTaskDataHandler();
ITracClient client = connector.getClientManager().getTracClient(repository);
+ client.updateAttributes(new NullProgressMonitor(), false);
assertEquals(client.getAccessMode().name(), repository.getVersion());
// prepare task data