aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine/src/test/java/org/sonar/scanner/index/DefaultIndexTest.java
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2017-01-24 18:02:09 +0100
committerDuarte Meneses <duarte.meneses@sonarsource.com>2017-01-27 16:26:30 +0100
commit3c0dd8758d56ce8583a3a74c17a181e4cfe5918c (patch)
tree47766f525c8fa28e4baf78dd5de48b6a5ff82b58 /sonar-scanner-engine/src/test/java/org/sonar/scanner/index/DefaultIndexTest.java
parent291382160309e0543067c59c193d126710370dee (diff)
downloadsonarqube-3c0dd8758d56ce8583a3a74c17a181e4cfe5918c.tar.gz
sonarqube-3c0dd8758d56ce8583a3a74c17a181e4cfe5918c.zip
SONAR-8622 Lazily generate metadata for input files
Diffstat (limited to 'sonar-scanner-engine/src/test/java/org/sonar/scanner/index/DefaultIndexTest.java')
-rw-r--r--sonar-scanner-engine/src/test/java/org/sonar/scanner/index/DefaultIndexTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-scanner-engine/src/test/java/org/sonar/scanner/index/DefaultIndexTest.java b/sonar-scanner-engine/src/test/java/org/sonar/scanner/index/DefaultIndexTest.java
index 2eadd1f5170..b796c4f322c 100644
--- a/sonar-scanner-engine/src/test/java/org/sonar/scanner/index/DefaultIndexTest.java
+++ b/sonar-scanner-engine/src/test/java/org/sonar/scanner/index/DefaultIndexTest.java
@@ -93,7 +93,7 @@ public class DefaultIndexTest {
rule = Rule.create("repoKey", "ruleKey", "Rule");
rule.setId(1);
rulesProfile.activateRule(rule, null);
- index.setCurrentProject(mock(DefaultSensorStorage.class));
+ index.setCurrentStorage(mock(DefaultSensorStorage.class));
}
@Test