aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorssjenka <ssjenka@ops-slave-centos7-1.internal.sonarsource.com>2016-12-14 16:33:37 +0100
committerssjenka <ssjenka@ops-slave-centos7-1.internal.sonarsource.com>2016-12-14 16:33:37 +0100
commit31a1326c4edd38fafea520e0e35f50f7e30ccaf5 (patch)
tree792a0337a196da8115cde62d5d99ed0f75ebfb14
parentc837c831d5f4665103b295856b14ead7015a79b2 (diff)
parent32e0abb294c2fbfadb7789f575b9d8e0d098d300 (diff)
downloadsonarqube-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.java6
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);