aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src/test
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2017-02-15 12:03:37 +0100
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2017-02-16 14:44:26 +0100
commite78e3f96654f8af4897632297fde0fec42a26921 (patch)
tree8aa5e07c3e380fb9436fb3f4c3a55f6106f8ade7 /sonar-plugin-api/src/test
parentcfb0894291c0f8884530c6ea8f7287bcfb20e09f (diff)
downloadsonarqube-e78e3f96654f8af4897632297fde0fec42a26921.tar.gz
sonarqube-e78e3f96654f8af4897632297fde0fec42a26921.zip
SONAR-8793 Replace use of method to set a deprecated key
Diffstat (limited to 'sonar-plugin-api/src/test')
-rw-r--r--sonar-plugin-api/src/test/java/org/sonar/api/server/ws/RequestTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/server/ws/RequestTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/server/ws/RequestTest.java
index a22ad478c7f..4c299ae37ae 100644
--- a/sonar-plugin-api/src/test/java/org/sonar/api/server/ws/RequestTest.java
+++ b/sonar-plugin-api/src/test/java/org/sonar/api/server/ws/RequestTest.java
@@ -636,8 +636,8 @@ public class RequestTest {
action.createParam("has_possible_values").setPossibleValues("foo", "bar");
- action.createParam("new_param").setDeprecatedKey("deprecated_param");
- action.createParam("new_param_with_default_value").setDeprecatedKey("deprecated_new_param_with_default_value").setDefaultValue("the_default_string");
+ action.createParam("new_param").setDeprecatedKey("deprecated_param", "6.3");
+ action.createParam("new_param_with_default_value").setDeprecatedKey("deprecated_new_param_with_default_value", "6.2").setDefaultValue("the_default_string");
controller.done();
}