Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Becker2013-12-06 16:14:52 -0500
committerGerrit Code Review @ Eclipse.org2013-12-06 16:47:49 -0500
commit52cc6462290ecb44881e74dbe816b550cd89f447 (patch)
treeaac53eeadb4a2e31115343dd7a011804d67da6d8
parent31124d522308ed538b9ec79ea7cfdad5f8c83699 (diff)
downloadorg.eclipse.mylyn.tasks-52cc6462290ecb44881e74dbe816b550cd89f447.tar.gz
org.eclipse.mylyn.tasks-52cc6462290ecb44881e74dbe816b550cd89f447.tar.xz
org.eclipse.mylyn.tasks-52cc6462290ecb44881e74dbe816b550cd89f447.zip
414360: add support for the new REST API (Bugzilla 5.0)
Change-Id: I108e85dbbe65847a894758d5b3790a5eb40f764c Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=414360
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java
index 24af59b67..e0cce0ac2 100644
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java
+++ b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java
@@ -957,7 +957,8 @@ public class BugzillaRepositoryConnectorTest extends AbstractBugzillaTest {
AttachmentUtil.postContext(connector, repository, task, "test", attribute, new NullProgressMonitor());
} catch (CoreException e) {
assertEquals(SynchronizationState.SYNCHRONIZED, task.getSynchronizationState());
- assertTrue(e.getStatus().getMessage().indexOf("invalid username or password") != -1);
+ assertTrue(e.getStatus().getMessage().indexOf("invalid username or password") != -1
+ || e.getStatus().getMessage().indexOf("invalid login or password") != -1);
return;
} finally {
repository.setCredentials(AuthenticationType.REPOSITORY, oldCreds, false);

Back to the top