]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-6912 Fix unit test by adding missing execute()
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 4 Nov 2016 06:43:43 +0000 (07:43 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 4 Nov 2016 06:43:43 +0000 (07:43 +0100)
server/sonar-server/src/test/java/org/sonar/server/usergroups/ws/RemoveUserActionTest.java

index 423d1fd91d3333b24f36d5fea09854e4c7d2c3d2..618811e3441df44f9b19497b183424f9f8fa1c48 100644 (file)
@@ -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