aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch/src
diff options
context:
space:
mode:
authorStephane Gamard <stephane.gamard@searchbox.com>2014-04-28 17:30:14 +0200
committerStephane Gamard <stephane.gamard@searchbox.com>2014-04-28 17:30:50 +0200
commitacf2f9c447cd5931a67f6aa2643dad4d919cc27d (patch)
tree7b9b65150627701581e8252dabe38a986dd9284d /sonar-batch/src
parent43854de0cea41fa4acc6929c864e4134301add18 (diff)
downloadsonarqube-acf2f9c447cd5931a67f6aa2643dad4d919cc27d.tar.gz
sonarqube-acf2f9c447cd5931a67f6aa2643dad4d919cc27d.zip
SONAR-5237 - Delegation from BaseIndex rather than BaseMapper
Diffstat (limited to 'sonar-batch/src')
-rw-r--r--sonar-batch/src/test/java/org/sonar/batch/rule/RulesProviderTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/sonar-batch/src/test/java/org/sonar/batch/rule/RulesProviderTest.java b/sonar-batch/src/test/java/org/sonar/batch/rule/RulesProviderTest.java
index da1ad682f1a..49825359b6e 100644
--- a/sonar-batch/src/test/java/org/sonar/batch/rule/RulesProviderTest.java
+++ b/sonar-batch/src/test/java/org/sonar/batch/rule/RulesProviderTest.java
@@ -82,8 +82,7 @@ public class RulesProviderTest extends AbstractDaoTestCase {
.setParentId(102));
durations = new Durations(new Settings().setProperty("sonar.technicalDebt.hoursInDay", 8), null);
- WorkQueue queue = mock(WorkQueue.class);
- ruleDao = new RuleDao(getMyBatis(),queue);
+ ruleDao = new RuleDao(getMyBatis());
provider = new RulesProvider();
}