use of org.sonar.server.user.UserUpdater in project sonarqube by SonarSource.
the class UpdateActionTest method setUp.
@Before
public void setUp() {
dbClient.groupDao().insert(session, newGroupDto().setName("sonar-users"));
session.commit();
userIndexer = new UserIndexer(dbClient, esTester.client());
tester = new WsTester(new UsersWs(new UpdateAction(new UserUpdater(mock(NewUserNotifier.class), settings, dbClient, userIndexer, system2, defaultOrganizationProvider, ORGANIZATION_CREATION_NOT_USED_FOR_UPDATE), userSessionRule, new UserJsonWriter(userSessionRule), dbClient)));
}
Aggregations