]> source.dussan.org Git - sonarqube.git/commitdiff
add missing System2.INSTANCE parameter in ProjectsGhostsActionTest
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Fri, 15 May 2015 13:45:07 +0000 (15:45 +0200)
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Fri, 15 May 2015 13:45:07 +0000 (15:45 +0200)
server/sonar-server/src/test/java/org/sonar/server/component/ws/ProjectsGhostsActionTest.java

index 469f9dce4ecc0e57b061cba9bb4715f5dbc744f8..b6da49d99865738a3c383bb6475f045aef6bfee0 100644 (file)
@@ -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();