diff options
author | ssjenka <ssjenka@ops-slave-centos7-1.internal.sonarsource.com> | 2016-12-14 16:33:37 +0100 |
---|---|---|
committer | ssjenka <ssjenka@ops-slave-centos7-1.internal.sonarsource.com> | 2016-12-14 16:33:37 +0100 |
commit | 31a1326c4edd38fafea520e0e35f50f7e30ccaf5 (patch) | |
tree | 792a0337a196da8115cde62d5d99ed0f75ebfb14 | |
parent | c837c831d5f4665103b295856b14ead7015a79b2 (diff) | |
parent | 32e0abb294c2fbfadb7789f575b9d8e0d098d300 (diff) | |
download | sonarqube-31a1326c4edd38fafea520e0e35f50f7e30ccaf5.tar.gz sonarqube-31a1326c4edd38fafea520e0e35f50f7e30ccaf5.zip |
Automatic merge from branch-6.2
* origin/branch-6.2:
Fix IssueNotificationsTest
-rw-r--r-- | it/it-tests/src/test/java/it/issue/IssueNotificationsTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/it/it-tests/src/test/java/it/issue/IssueNotificationsTest.java b/it/it-tests/src/test/java/it/issue/IssueNotificationsTest.java index 4b81c107baf..3e0360a3c9e 100644 --- a/it/it-tests/src/test/java/it/issue/IssueNotificationsTest.java +++ b/it/it-tests/src/test/java/it/issue/IssueNotificationsTest.java @@ -112,7 +112,7 @@ public class IssueNotificationsTest extends AbstractIssueTest { @Test public void notifications_for_new_issues_and_issue_changes() throws Exception { - runProjectAnalysis(ORCHESTRATOR, "shared/xoo-sample", "sonar.projectDate", "2011-12-15"); + runProjectAnalysis(ORCHESTRATOR, "shared/xoo-sample", "sonar.projectDate", "2015-12-15"); // change assignee Issues issues = issueClient.find(IssueQuery.create().componentRoots(PROJECT_KEY)); @@ -131,7 +131,7 @@ public class IssueNotificationsTest extends AbstractIssueTest { assertThat((String) message.getContent()).contains("Severity"); assertThat((String) message.getContent()).contains("One Issue Per Line (xoo): 17"); assertThat((String) message.getContent()).contains( - "See it in SonarQube: http://localhost:9000/component_issues?id=sample#createdAt=2011-12-15T00%3A00%3A00%2B"); + "See it in SonarQube: http://localhost:9000/component_issues?id=sample#createdAt=2015-12-15T00%3A00%3A00%2B"); assertThat(emails.hasNext()).isTrue(); message = emails.next().getMimeMessage(); @@ -164,7 +164,7 @@ public class IssueNotificationsTest extends AbstractIssueTest { */ @Test public void notifications_for_bulk_change_ws() throws Exception { - runProjectAnalysis(ORCHESTRATOR, "shared/xoo-sample", "sonar.projectDate", "2011-12-15"); + runProjectAnalysis(ORCHESTRATOR, "shared/xoo-sample", "sonar.projectDate", "2015-12-15"); Issues issues = issueClient.find(IssueQuery.create().componentRoots(PROJECT_KEY)); Issue issue = issues.list().get(0); |