import org.sonar.db.DbSession;
import org.sonar.db.DbTester;
import org.sonar.db.permission.PermissionTemplateDao;
+import org.sonar.db.user.GroupDao;
import org.sonar.db.user.GroupDto;
import org.sonar.db.user.GroupRoleDto;
import org.sonar.db.user.RoleDao;
import org.sonar.server.db.DbClient;
import org.sonar.server.exceptions.NotFoundException;
import org.sonar.server.tester.UserSessionRule;
-import org.sonar.db.user.GroupDao;
import org.sonar.server.ws.WsTester;
import org.sonar.test.DbTests;
public void not_found() throws Exception {
loginAsAdmin();
ws.newPostRequest("api/usergroups", "delete")
- .setParam("id", "42")
+ .setParam("id", String.valueOf(defaultGroupId + 1L))
.execute();
}