private final LoadedTemplateDao loadedTemplateDao;
public RegisterNewDashboards(DashboardTemplate[] dashboardTemplatesArray, DashboardDao dashboardDao,
- ActiveDashboardDao activeDashboardDao, LoadedTemplateDao loadedTemplateDao,
- /* filters must be registered before dashboards when filter widgets are used */ RegisterNewFilters registerNewFilters) {
+ ActiveDashboardDao activeDashboardDao, LoadedTemplateDao loadedTemplateDao) {
this.dashboardTemplates = Lists.newArrayList(dashboardTemplatesArray);
this.dashboardDao = dashboardDao;
this.activeDashboardDao = activeDashboardDao;
fakeDashboardTemplate = mock(DashboardTemplate.class);
task = new RegisterNewDashboards(new DashboardTemplate[] {fakeDashboardTemplate}, dashboardDao,
- activeDashboardDao, loadedTemplateDao, null);
+ activeDashboardDao, loadedTemplateDao);
}
@Test