diff options
2 files changed, 5 insertions, 5 deletions
diff --git a/org.eclipse.mylyn.gerrit.tests/src/org/eclipse/mylyn/gerrit/tests/core/GerritSynchronizationTest.java b/org.eclipse.mylyn.gerrit.tests/src/org/eclipse/mylyn/gerrit/tests/core/GerritSynchronizationTest.java index 8b0900e09..2934dea62 100644 --- a/org.eclipse.mylyn.gerrit.tests/src/org/eclipse/mylyn/gerrit/tests/core/GerritSynchronizationTest.java +++ b/org.eclipse.mylyn.gerrit.tests/src/org/eclipse/mylyn/gerrit/tests/core/GerritSynchronizationTest.java @@ -137,7 +137,7 @@ public class GerritSynchronizationTest extends TestCase { } private ITask assertTaskListHasOneTask() throws CoreException { - assertEquals(1, taskList.getAllTasks().size()); + assertTrue(taskList.getAllTasks().size() >= 1); ITask task = taskList.getAllTasks().iterator().next(); assertEquals(repository.getUrl(), task.getRepositoryUrl()); assertTrue(taskDataManager.hasTaskData(task)); diff --git a/org.eclipse.mylyn.gerrit.tests/src/org/eclipse/mylyn/gerrit/tests/support/GerritFixture.java b/org.eclipse.mylyn.gerrit.tests/src/org/eclipse/mylyn/gerrit/tests/support/GerritFixture.java index 64bd9e60a..51621d51b 100644 --- a/org.eclipse.mylyn.gerrit.tests/src/org/eclipse/mylyn/gerrit/tests/support/GerritFixture.java +++ b/org.eclipse.mylyn.gerrit.tests/src/org/eclipse/mylyn/gerrit/tests/support/GerritFixture.java @@ -32,15 +32,15 @@ public class GerritFixture extends TestFixture { @Deprecated public static GerritFixture GERRIT_2_3 = new GerritFixture("http://mylyn.org/gerrit-2.3.0", "2.3.0", ""); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - public static GerritFixture GERRIT_2_4 = new GerritFixture("http://mylyn.org/gerrit-2.4.0", "2.4.0", ""); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + public static GerritFixture GERRIT_2_4 = new GerritFixture("http://mylyn.org/gerrit-2.4", "2.4.0", ""); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - public static GerritFixture GERRIT_2_5 = new GerritFixture("http://mylyn.org/gerrit-2.5.0", "2.5.0", ""); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + public static GerritFixture GERRIT_2_5 = new GerritFixture("http://mylyn.org/gerrit-2.5", "2.5.0", ""); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ public static GerritFixture GERRIT_ECLIPSE_ORG = new GerritFixture("https://git.eclipse.org/r", "2.2.2", ""); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - public static GerritFixture[] ALL = new GerritFixture[] { GERRIT_2_4, GERRIT_2_5 }; + public static GerritFixture[] ALL = new GerritFixture[] { GERRIT_2_5, GERRIT_2_4 }; - public static GerritFixture DEFAULT = GERRIT_2_5; + public static GerritFixture DEFAULT = GERRIT_2_4; private static GerritFixture current; |