diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-02-08 21:17:53 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-02-10 22:51:02 +0100 |
commit | db20ac93dcde28cbabf2679c9462a959caed462c (patch) | |
tree | a7b79f153a75787b698870e58e5d1fdac61bb4e0 /sonar-db/src/test/java/org | |
parent | f4b595f075588f33a9b955758f36536104330663 (diff) | |
download | sonarqube-db20ac93dcde28cbabf2679c9462a959caed462c.tar.gz sonarqube-db20ac93dcde28cbabf2679c9462a959caed462c.zip |
SONAR-8761 organizations mgmt WS must check if org feature is enabled
Diffstat (limited to 'sonar-db/src/test/java/org')
-rw-r--r-- | sonar-db/src/test/java/org/sonar/db/DbTester.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sonar-db/src/test/java/org/sonar/db/DbTester.java b/sonar-db/src/test/java/org/sonar/db/DbTester.java index 17651fa8bd5..61a0c277b1a 100644 --- a/sonar-db/src/test/java/org/sonar/db/DbTester.java +++ b/sonar-db/src/test/java/org/sonar/db/DbTester.java @@ -177,6 +177,11 @@ public class DbTester extends ExternalResource { return this; } + public DbTester enableOrganizations() { + properties().insertInternal("organization.enabled", "true"); + return this; + } + @Override protected void before() throws Throwable { db.start(); |