diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-06-11 10:43:46 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-06-11 11:07:55 +0200 |
commit | a774a62aec4318d3db04aaa8bc0a4cf741959f03 (patch) | |
tree | fc17afc11c2105a9a8e693f92311752deb64f990 /sonar-server/src/test/resources/org | |
parent | a09bbbc8d18d41f82cb51d0fceb28d24ffd4d1b5 (diff) | |
download | sonarqube-a774a62aec4318d3db04aaa8bc0a4cf741959f03.tar.gz sonarqube-a774a62aec4318d3db04aaa8bc0a4cf741959f03.zip |
SONAR-5360 When creating a custom rule, the rule key should be set
Diffstat (limited to 'sonar-server/src/test/resources/org')
2 files changed, 2 insertions, 0 deletions
diff --git a/sonar-server/src/test/resources/org/sonar/server/rule/ws/CreateActionMediumTest/create_custom_rule.json b/sonar-server/src/test/resources/org/sonar/server/rule/ws/CreateActionMediumTest/create_custom_rule.json index 53d351c6790..648e6c9b2fe 100644 --- a/sonar-server/src/test/resources/org/sonar/server/rule/ws/CreateActionMediumTest/create_custom_rule.json +++ b/sonar-server/src/test/resources/org/sonar/server/rule/ws/CreateActionMediumTest/create_custom_rule.json @@ -1,5 +1,6 @@ { "rule": { + "key": "java:MY_CUSTOM", "repo": "java", "name": "My custom rule", "htmlDesc": "Description", diff --git a/sonar-server/src/test/resources/org/sonar/server/rule/ws/UpdateActionMediumTest/update_custom_rule.json b/sonar-server/src/test/resources/org/sonar/server/rule/ws/UpdateActionMediumTest/update_custom_rule.json index 53d351c6790..648e6c9b2fe 100644 --- a/sonar-server/src/test/resources/org/sonar/server/rule/ws/UpdateActionMediumTest/update_custom_rule.json +++ b/sonar-server/src/test/resources/org/sonar/server/rule/ws/UpdateActionMediumTest/update_custom_rule.json @@ -1,5 +1,6 @@ { "rule": { + "key": "java:MY_CUSTOM", "repo": "java", "name": "My custom rule", "htmlDesc": "Description", |