summaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/test/java/org/sonar/api/server/ws/RequestTest.java7
1 files changed, 2 insertions, 5 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 e22a829bb1d..a9cde1cc415 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
@@ -83,11 +83,8 @@ public class RequestTest {
@Override
public void define(Context context) {
NewController controller = context.createController("my_controller");
- NewAction action = controller.createAction("my_action")
- .setDescription("Action Description")
- .setPost(true)
- .setSince("5.2")
- .setHandler(mock(RequestHandler.class));
+ NewAction action = controller.createAction("my_action");
+ action.setHandler(mock(RequestHandler.class));
action
.createParam("required_param")
.setRequired(true);