Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2012-03-02 11:03:21 +0000
committerSteffen Pingel2012-03-02 11:03:21 +0000
commit20cefdff005db68155f001f06733accae2382a1c (patch)
treefe5a69ae5329464ebeb6ee6fe132ebb279e52f97
parent0cf388b16e09230ebd16d29701896300f9cb39a5 (diff)
downloadorg.eclipse.mylyn.tasks-20cefdff005db68155f001f06733accae2382a1c.tar.gz
org.eclipse.mylyn.tasks-20cefdff005db68155f001f06733accae2382a1c.tar.xz
org.eclipse.mylyn.tasks-20cefdff005db68155f001f06733accae2382a1c.zip
RESOLVED - bug 372971: ensure local repository exists
https://bugs.eclipse.org/bugs/show_bug.cgi?id=372971
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/ui/BugzillaTaskEditorTest.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/ui/BugzillaTaskEditorTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/ui/BugzillaTaskEditorTest.java
index 0d395434e..050edf540 100644
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/ui/BugzillaTaskEditorTest.java
+++ b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/ui/BugzillaTaskEditorTest.java
@@ -21,6 +21,7 @@ import org.eclipse.mylyn.tasks.core.TaskMapping;
import org.eclipse.mylyn.tasks.core.TaskRepository;
import org.eclipse.mylyn.tasks.core.data.TaskData;
import org.eclipse.mylyn.tasks.ui.editors.TaskEditor;
+import org.eclipse.mylyn.tests.util.TestFixture;
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.PlatformUI;
@@ -34,7 +35,8 @@ public class BugzillaTaskEditorTest extends TestCase {
@Override
protected void setUp() throws Exception {
- repository = BugzillaFixture.current().singleRepository();
+ TestFixture.resetTaskListAndRepositories();
+ repository = BugzillaFixture.current().repository();
}
@Override

Back to the top