aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-05-15 15:45:07 +0200
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-05-15 15:45:07 +0200
commitacae10d3734453c0555c1d11106ec44553b5382f (patch)
tree815c6f07223f0c1d4725fea73002aaf0b93280f6
parentd81d1437cc9b7a814efd8cd29739fc906856e8cf (diff)
downloadsonarqube-acae10d3734453c0555c1d11106ec44553b5382f.tar.gz
sonarqube-acae10d3734453c0555c1d11106ec44553b5382f.zip
add missing System2.INSTANCE parameter in ProjectsGhostsActionTest
-rw-r--r--server/sonar-server/src/test/java/org/sonar/server/component/ws/ProjectsGhostsActionTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-server/src/test/java/org/sonar/server/component/ws/ProjectsGhostsActionTest.java b/server/sonar-server/src/test/java/org/sonar/server/component/ws/ProjectsGhostsActionTest.java
index 469f9dce4ec..b6da49d9986 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/component/ws/ProjectsGhostsActionTest.java
+++ b/server/sonar-server/src/test/java/org/sonar/server/component/ws/ProjectsGhostsActionTest.java
@@ -60,7 +60,7 @@ public class ProjectsGhostsActionTest {
@Before
public void setUp() {
- dbClient = new DbClient(db.database(), db.myBatis(), new ComponentDao(), new SnapshotDao(System2.INSTANCE));
+ dbClient = new DbClient(db.database(), db.myBatis(), new ComponentDao(System2.INSTANCE), new SnapshotDao(System2.INSTANCE));
dbSession = dbClient.openSession(false);
ws = new WsTester(new ProjectsWs(new ProjectsGhostsAction(dbClient, userSessionRule)));
db.truncateTables();