Browse Source

Autowire the concrete rules cache in the notification base test

pull/16655/head
Andrii Landiak 3 weeks ago
parent
commit
fe38f31df1
  1. 4
      application/src/test/java/org/thingsboard/server/service/notification/AbstractNotificationApiTest.java

4
application/src/test/java/org/thingsboard/server/service/notification/AbstractNotificationApiTest.java

@ -41,7 +41,7 @@ import org.thingsboard.server.dao.notification.NotificationSettingsService;
import org.thingsboard.server.dao.notification.NotificationTargetService;
import org.thingsboard.server.dao.notification.NotificationTemplateService;
import org.thingsboard.server.dao.sqlts.insert.sql.SqlPartitioningRepository;
import org.thingsboard.server.service.notification.rule.cache.NotificationRulesCache;
import org.thingsboard.server.service.notification.rule.cache.DefaultNotificationRulesCache;
import java.net.URISyntaxException;
import java.util.Arrays;
@ -65,7 +65,7 @@ public abstract class AbstractNotificationApiTest extends AbstractControllerTest
@Autowired
protected NotificationRuleService notificationRuleService;
@Autowired
protected NotificationRulesCache notificationRulesCache;
protected DefaultNotificationRulesCache notificationRulesCache;
@Autowired
protected NotificationTemplateService notificationTemplateService;
@Autowired

Loading…
Cancel
Save