diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2021-01-05 12:19:25 -0600 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-01-11 20:20:39 +0000 |
commit | 6789a2ec09f916b67bb34400f332570d2ca26b94 (patch) | |
tree | 767909bb951844bafb67f4b99c0b7c18b560e670 /server/sonar-webserver-core | |
parent | 16d235022a4711857cde9d0953be3a864b1bfb83 (diff) | |
download | sonarqube-6789a2ec09f916b67bb34400f332570d2ca26b94.tar.gz sonarqube-6789a2ec09f916b67bb34400f332570d2ca26b94.zip |
SONAR-14245 Drop organization related tables
Diffstat (limited to 'server/sonar-webserver-core')
2 files changed, 0 insertions, 4 deletions
diff --git a/server/sonar-webserver-core/src/test/java/org/sonar/server/rule/RegisterRulesTest.java b/server/sonar-webserver-core/src/test/java/org/sonar/server/rule/RegisterRulesTest.java index 7ec649a2401..aa8077c7f40 100644 --- a/server/sonar-webserver-core/src/test/java/org/sonar/server/rule/RegisterRulesTest.java +++ b/server/sonar-webserver-core/src/test/java/org/sonar/server/rule/RegisterRulesTest.java @@ -48,7 +48,6 @@ import org.sonar.core.util.UuidFactoryFast; import org.sonar.db.DbClient; import org.sonar.db.DbSession; import org.sonar.db.DbTester; -import org.sonar.db.organization.OrganizationDto; import org.sonar.db.rule.DeprecatedRuleKeyDto; import org.sonar.db.rule.RuleDefinitionDto; import org.sonar.db.rule.RuleDto; @@ -379,7 +378,6 @@ public class RegisterRulesTest { repo.done(); }); - OrganizationDto defaultOrganization = db.getDefaultOrganization(); RuleDto rule = dbClient.ruleDao().selectOrFailByKey(db.getSession(), RULE_KEY1); assertThat(rule.getSystemTags()).containsOnly("tag1"); @@ -408,7 +406,6 @@ public class RegisterRulesTest { repo.done(); }); - OrganizationDto defaultOrganization = db.getDefaultOrganization(); RuleDto rule = dbClient.ruleDao().selectOrFailByKey(db.getSession(), RULE_KEY1); assertThat(rule.getSecurityStandards()).containsOnly("cwe:123", "owaspTop10:a1"); diff --git a/server/sonar-webserver-core/src/test/java/org/sonar/server/rule/WebServerRuleFinderImplTest.java b/server/sonar-webserver-core/src/test/java/org/sonar/server/rule/WebServerRuleFinderImplTest.java index ed073586ea8..dfbe84ca94a 100644 --- a/server/sonar-webserver-core/src/test/java/org/sonar/server/rule/WebServerRuleFinderImplTest.java +++ b/server/sonar-webserver-core/src/test/java/org/sonar/server/rule/WebServerRuleFinderImplTest.java @@ -24,7 +24,6 @@ import org.junit.Test; import org.sonar.api.rules.RuleFinder; import org.sonar.db.DbClient; import org.sonar.db.rule.RuleDao; -import org.sonar.server.organization.TestDefaultOrganizationProvider; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; |