aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao
diff options
context:
space:
mode:
authorDaniel Schwarz <daniel.schwarz@sonarsource.com>2017-05-11 12:13:28 +0200
committerDaniel Schwarz <bartfastiel@users.noreply.github.com>2017-05-11 13:42:50 +0200
commit996eaef682bd9e8b630e50e2f899a61e6ac64e68 (patch)
treefbc8b54dcf954b751156c489e5e82881213e556e /server/sonar-db-dao
parentad9aff18613d47ea6516756815102295cb13c9a2 (diff)
downloadsonarqube-996eaef682bd9e8b630e50e2f899a61e6ac64e68.tar.gz
sonarqube-996eaef682bd9e8b630e50e2f899a61e6ac64e68.zip
fix project visibility of projects, created by ComponentDbTester
Diffstat (limited to 'server/sonar-db-dao')
-rw-r--r--server/sonar-db-dao/src/test/java/org/sonar/db/component/ComponentDbTester.java2
1 files changed, 1 insertions, 1 deletions
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<ComponentDto>... dtoPopulators) {
- return insertComponentImpl(newPublicProjectDto(organizationDto), true, dtoPopulators);
+ return insertComponentImpl(newPublicProjectDto(organizationDto), false, dtoPopulators);
}
public ComponentDto insertPrivateProject(OrganizationDto organizationDto) {