Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.tests/src')
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/support/BugzillaFixture.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/support/BugzillaFixture.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/support/BugzillaFixture.java
index 1682854ba..b81b0d5a0 100644
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/support/BugzillaFixture.java
+++ b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/support/BugzillaFixture.java
@@ -166,7 +166,10 @@ public class BugzillaFixture extends TestFixture {
public BugzillaClient client(AbstractWebLocation location, String encoding) throws CoreException {
TaskRepository taskRepository = new TaskRepository(BugzillaCorePlugin.CONNECTOR_KIND, location.getUrl());
- String filepath = "testdata/descriptor/" + getInfo().replaceAll(" ", "_") + "Transition.txt";
+ String repositoryURL = taskRepository.getUrl();
+ String filepath = "testdata/repository"
+ + repositoryURL.substring(repositoryURL.indexOf(TestConfiguration.getServerName())
+ + TestConfiguration.getServerName().length()) + "/DesciptorFile.txt";
try {
File file = BugzillaFixture.getFile(filepath);
if (file != null) {

Back to the top