diff options
author | Pierre <pierre.guillot@sonarsource.com> | 2023-07-31 16:49:36 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-08-02 20:03:03 +0000 |
commit | 40919a571ab3d2b3e87689e47473b64a7eda9e56 (patch) | |
tree | 770c849e499cf2dd15924d03d42a8857b33517e3 /sonar-core/src/test | |
parent | 17716a7f1f2a0847bb6adbf6d8d8451878cef2ab (diff) | |
download | sonarqube-40919a571ab3d2b3e87689e47473b64a7eda9e56.tar.gz sonarqube-40919a571ab3d2b3e87689e47473b64a7eda9e56.zip |
SONAR-19372 remove branch support for anticipated transitions
Diffstat (limited to 'sonar-core/src/test')
-rw-r--r-- | sonar-core/src/test/java/org/sonar/core/issue/AnticipatedTransitionTest.java | 2 | ||||
-rw-r--r-- | sonar-core/src/test/java/org/sonar/core/issue/tracking/AnticipatedTransitionTrackerTest.java | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/sonar-core/src/test/java/org/sonar/core/issue/AnticipatedTransitionTest.java b/sonar-core/src/test/java/org/sonar/core/issue/AnticipatedTransitionTest.java index 041753af341..4e1be63dfef 100644 --- a/sonar-core/src/test/java/org/sonar/core/issue/AnticipatedTransitionTest.java +++ b/sonar-core/src/test/java/org/sonar/core/issue/AnticipatedTransitionTest.java @@ -45,7 +45,6 @@ public class AnticipatedTransitionTest { private void assertFieldsAreTheSame(AnticipatedTransition anticipatedTransition, AnticipatedTransition anticipatedTransition2) { Assertions.assertThat(anticipatedTransition.getProjectKey()).isEqualTo(anticipatedTransition2.getProjectKey()); - Assertions.assertThat(anticipatedTransition.getBranch()).isEqualTo(anticipatedTransition2.getBranch()); Assertions.assertThat(anticipatedTransition.getUserUuid()).isEqualTo(anticipatedTransition2.getUserUuid()); Assertions.assertThat(anticipatedTransition.getTransition()).isEqualTo(anticipatedTransition2.getTransition()); Assertions.assertThat(anticipatedTransition.getComment()).isEqualTo(anticipatedTransition2.getComment()); @@ -59,7 +58,6 @@ public class AnticipatedTransitionTest { private AnticipatedTransition getAnticipatedTransition() { return new AnticipatedTransition( "projectKey", - "branch", "userUuid", RuleKey.parse("rule:key"), "message", diff --git a/sonar-core/src/test/java/org/sonar/core/issue/tracking/AnticipatedTransitionTrackerTest.java b/sonar-core/src/test/java/org/sonar/core/issue/tracking/AnticipatedTransitionTrackerTest.java index 2d88c894266..017e4b8417a 100644 --- a/sonar-core/src/test/java/org/sonar/core/issue/tracking/AnticipatedTransitionTrackerTest.java +++ b/sonar-core/src/test/java/org/sonar/core/issue/tracking/AnticipatedTransitionTrackerTest.java @@ -93,7 +93,6 @@ public class AnticipatedTransitionTrackerTest { private AnticipatedTransition getAnticipatedTransition(Integer line, String message, String hash, String ruleKey) { return new AnticipatedTransition("projectKey", - null, "userUuid", RuleKey.parse(ruleKey), message, |