]> source.dussan.org Git - sonarqube.git/commitdiff
fix project visibility of projects, created by ComponentDbTester
authorDaniel Schwarz <daniel.schwarz@sonarsource.com>
Thu, 11 May 2017 10:13:28 +0000 (12:13 +0200)
committerDaniel Schwarz <bartfastiel@users.noreply.github.com>
Thu, 11 May 2017 11:42:50 +0000 (13:42 +0200)
server/sonar-db-dao/src/test/java/org/sonar/db/component/ComponentDbTester.java

index cf985e46b03916c42e3e43317ffd468d3a16a43f..69997d7427b9da7c645ab63e4c7969ff39532406 100644 (file)
@@ -90,7 +90,7 @@ public class ComponentDbTester {
 
   @SafeVarargs
   public final ComponentDto insertPublicProject(OrganizationDto organizationDto, Consumer<ComponentDto>... dtoPopulators) {
-    return insertComponentImpl(newPublicProjectDto(organizationDto), true, dtoPopulators);
+    return insertComponentImpl(newPublicProjectDto(organizationDto), false, dtoPopulators);
   }
 
   public ComponentDto insertPrivateProject(OrganizationDto organizationDto) {