From f7422cae1cda99e1b81aa92695c73ef5398bc5ce Mon Sep 17 00:00:00 2001 From: Teryk Bellahsene Date: Wed, 23 Mar 2016 14:29:01 +0100 Subject: [PATCH] SONAR-6717 Drop IT test on issue attributes --- .../src/test/java/it/issue/IssueActionTest.java | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/it/it-tests/src/test/java/it/issue/IssueActionTest.java b/it/it-tests/src/test/java/it/issue/IssueActionTest.java index 65098ac1126..6563c7d7916 100644 --- a/it/it-tests/src/test/java/it/issue/IssueActionTest.java +++ b/it/it-tests/src/test/java/it/issue/IssueActionTest.java @@ -220,22 +220,6 @@ public class IssueActionTest extends AbstractIssueTest { assertThat(reloaded.creationDate()).isEqualTo(issue.creationDate()); } - /** - * SONAR-4315 - */ - @Test - public void issue_attribute_are_kept_on_new_analysis() { - // The condition on the action defined by the plugin is that the status must be resolved - adminIssueClient().doTransition(issue.key(), "resolve"); - adminIssueClient().doAction(issue.key(), "fake"); - Assertions.assertThat(adminIssueClient().actions(issue.key())).doesNotContain("fake"); - - projectAnalysis.run(); - - // Fake action is no more available if the issue attribute is still there - Assertions.assertThat(adminIssueClient().actions(issue.key())).doesNotContain("fake"); - } - private static List searchIssuesBySeverities(String componentKey, String... severities) { return searchIssues(IssueQuery.create().componentRoots(componentKey).severities(severities)); } -- 2.39.5