summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2012-02-06 14:32:31 (EST)
committer Steffen Pingel2012-02-06 14:33:05 (EST)
commit0af8f9acf81769223fe498f37d47893f07741f78 (patch)
tree0e8fe0f6d91bcfc90cce7993ff751c0e8550ef1e
parent1ddad2dc55390ba014293cd539a96454f0c697b1 (diff)
downloadorg.eclipse.mylyn.tasks-0af8f9acf81769223fe498f37d47893f07741f78.zip
org.eclipse.mylyn.tasks-0af8f9acf81769223fe498f37d47893f07741f78.tar.gz
org.eclipse.mylyn.tasks-0af8f9acf81769223fe498f37d47893f07741f78.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 dab3996..36e886b 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