From 996eaef682bd9e8b630e50e2f899a61e6ac64e68 Mon Sep 17 00:00:00 2001 From: Daniel Schwarz Date: Thu, 11 May 2017 12:13:28 +0200 Subject: [PATCH] fix project visibility of projects, created by ComponentDbTester --- .../src/test/java/org/sonar/db/component/ComponentDbTester.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sonar-db-dao/src/test/java/org/sonar/db/component/ComponentDbTester.java b/server/sonar-db-dao/src/test/java/org/sonar/db/component/ComponentDbTester.java index cf985e46b03..69997d7427b 100644 --- a/server/sonar-db-dao/src/test/java/org/sonar/db/component/ComponentDbTester.java +++ b/server/sonar-db-dao/src/test/java/org/sonar/db/component/ComponentDbTester.java @@ -90,7 +90,7 @@ public class ComponentDbTester { @SafeVarargs public final ComponentDto insertPublicProject(OrganizationDto organizationDto, Consumer... dtoPopulators) { - return insertComponentImpl(newPublicProjectDto(organizationDto), true, dtoPopulators); + return insertComponentImpl(newPublicProjectDto(organizationDto), false, dtoPopulators); } public ComponentDto insertPrivateProject(OrganizationDto organizationDto) { -- 2.39.5