aboutsummaryrefslogtreecommitdiffstats
path: root/it
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2016-05-31 10:20:58 +0200
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2016-05-31 10:20:58 +0200
commit4e162555b40c43254f5b4e76470763bd6e706367 (patch)
tree3bc5afbd7035ca1580913d8010d003146d9d1b0f /it
parent5ef4780e07194a51c3a91f06548f61f52c2b100c (diff)
downloadsonarqube-4e162555b40c43254f5b4e76470763bd6e706367.tar.gz
sonarqube-4e162555b40c43254f5b4e76470763bd6e706367.zip
SONAR-7669 WS api/issues/search createdBefore cannot be equal to createdAfter
Diffstat (limited to 'it')
-rw-r--r--it/it-tests/src/test/java/it/issue/IssueSearchTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/it/it-tests/src/test/java/it/issue/IssueSearchTest.java b/it/it-tests/src/test/java/it/issue/IssueSearchTest.java
index 2c9e187d271..59b509effe6 100644
--- a/it/it-tests/src/test/java/it/issue/IssueSearchTest.java
+++ b/it/it-tests/src/test/java/it/issue/IssueSearchTest.java
@@ -41,7 +41,6 @@ import org.sonar.wsclient.component.Component;
import org.sonar.wsclient.issue.Issue;
import org.sonar.wsclient.issue.IssueQuery;
import org.sonar.wsclient.issue.Issues;
-import org.sonar.wsclient.issue.NewIssue;
import org.sonarqube.ws.Common;
import org.sonarqube.ws.MediaTypes;
import org.sonarqube.ws.client.GetRequest;
@@ -191,7 +190,7 @@ public class IssueSearchTest extends AbstractIssueTest {
search(IssueQuery.create().createdBefore(past).createdAfter(today)).list();
Fail.fail("Expecting 400 from issues search WS");
} catch (HttpException exception) {
- assertThat(exception.getMessage()).contains("Start bound cannot be larger than end bound");
+ assertThat(exception.getMessage()).contains("Start bound cannot be larger or equal to end bound");
}
}