From 903e15d3f41f5dd9c10f9b95fb75e446122af163 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Tue, 4 Jul 2017 16:46:02 +0200 Subject: [PATCH] SONAR-9483 Fix ut compilation issue --- .../java/org/sonar/server/rule/ws/SearchActionTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/sonar-server/src/test/java/org/sonar/server/rule/ws/SearchActionTest.java b/server/sonar-server/src/test/java/org/sonar/server/rule/ws/SearchActionTest.java index 4f9108f2256..43a69948204 100644 --- a/server/sonar-server/src/test/java/org/sonar/server/rule/ws/SearchActionTest.java +++ b/server/sonar-server/src/test/java/org/sonar/server/rule/ws/SearchActionTest.java @@ -239,7 +239,7 @@ public class SearchActionTest { @Test public void when_searching_for_several_tags_combine_them_with_OR() throws IOException { - OrganizationDto organization = dbTester.organizations().insert(); + OrganizationDto organization = db.organizations().insert(); RuleDefinitionDto bothTagsRule = createJavaRule(); insertMetadata(organization, bothTagsRule, setTags("tag1", "tag2")); RuleDefinitionDto oneTagRule = createJavaRule(); @@ -316,9 +316,9 @@ public class SearchActionTest { @Test public void should_not_return_tags_of_foreign_organization() throws IOException { - OrganizationDto organizationWithSpecificTags = dbTester.organizations().insert(); - OrganizationDto myOrganization = dbTester.organizations().insert(); - RuleDefinitionDto rule = dbTester.rules().insert(setSystemTags("system1", "system2")); + OrganizationDto organizationWithSpecificTags = db.organizations().insert(); + OrganizationDto myOrganization = db.organizations().insert(); + RuleDefinitionDto rule = db.rules().insert(setSystemTags("system1", "system2")); insertMetadata(organizationWithSpecificTags, rule, setTags("tag1", "tag2")); indexRules(); -- 2.39.5