From 349dd4f5035eb4ca5208a21e62aa8451efcf5fb4 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Fri, 4 Nov 2016 07:43:43 +0100 Subject: [PATCH] SONAR-6912 Fix unit test by adding missing execute() --- .../org/sonar/server/usergroups/ws/RemoveUserActionTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/sonar-server/src/test/java/org/sonar/server/usergroups/ws/RemoveUserActionTest.java b/server/sonar-server/src/test/java/org/sonar/server/usergroups/ws/RemoveUserActionTest.java index 423d1fd91d3..618811e3441 100644 --- a/server/sonar-server/src/test/java/org/sonar/server/usergroups/ws/RemoveUserActionTest.java +++ b/server/sonar-server/src/test/java/org/sonar/server/usergroups/ws/RemoveUserActionTest.java @@ -32,8 +32,8 @@ import org.sonar.db.user.GroupDto; import org.sonar.db.user.UserDto; import org.sonar.db.user.UserMembershipDto; import org.sonar.db.user.UserMembershipQuery; -import org.sonar.server.exceptions.ForbiddenException; import org.sonar.server.exceptions.BadRequestException; +import org.sonar.server.exceptions.ForbiddenException; import org.sonar.server.exceptions.NotFoundException; import org.sonar.server.organization.TestDefaultOrganizationProvider; import org.sonar.server.tester.UserSessionRule; @@ -259,7 +259,8 @@ public class RemoveUserActionTest { newRequest() .setParam("id", group.getId().toString()) - .setParam("login", user.getLogin()); + .setParam("login", user.getLogin()) + .execute(); } @Test -- 2.39.5