aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao/src/testFixtures/java/org/sonar
diff options
context:
space:
mode:
authorJacek <jacek.poreda@sonarsource.com>2020-12-11 14:32:37 +0100
committersonartech <sonartech@sonarsource.com>2020-12-22 20:09:36 +0000
commit2c9a70a4bac47b14dec82cd9d4b7fce1e4905f8e (patch)
tree115cd90fdd3255f746ee76982b034b3dcc3cd7f0 /server/sonar-db-dao/src/testFixtures/java/org/sonar
parent31544958c5b3763fdacfa7e7e8afec68fb0e0987 (diff)
downloadsonarqube-2c9a70a4bac47b14dec82cd9d4b7fce1e4905f8e.tar.gz
sonarqube-2c9a70a4bac47b14dec82cd9d4b7fce1e4905f8e.zip
SONAR-13999 move project default visibility to global settings
Diffstat (limited to 'server/sonar-db-dao/src/testFixtures/java/org/sonar')
-rw-r--r--server/sonar-db-dao/src/testFixtures/java/org/sonar/db/organization/OrganizationDbTester.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/server/sonar-db-dao/src/testFixtures/java/org/sonar/db/organization/OrganizationDbTester.java b/server/sonar-db-dao/src/testFixtures/java/org/sonar/db/organization/OrganizationDbTester.java
index 173c66d2b49..61bfb7ce7f4 100644
--- a/server/sonar-db-dao/src/testFixtures/java/org/sonar/db/organization/OrganizationDbTester.java
+++ b/server/sonar-db-dao/src/testFixtures/java/org/sonar/db/organization/OrganizationDbTester.java
@@ -87,13 +87,4 @@ public class OrganizationDbTester {
u -> db.getDbClient().organizationMemberDao().insert(db.getSession(), new OrganizationMemberDto().setOrganizationUuid(organization.getUuid()).setUserUuid(u.getUuid())));
db.commit();
}
-
- public void setNewProjectPrivate(OrganizationDto organization, boolean newProjectPrivate) {
- db.getDbClient().organizationDao().setNewProjectPrivate(db.getSession(), organization, newProjectPrivate);
- db.commit();
- }
-
- public boolean getNewProjectPrivate(OrganizationDto organization) {
- return db.getDbClient().organizationDao().getNewProjectPrivate(db.getSession(), organization);
- }
}