From fe38f31df1d6d646174ce479e2bce816ed2e6e8c Mon Sep 17 00:00:00 2001 From: Andrii Landiak Date: Fri, 13 Nov 2026 13:31:15 +0200 Subject: [PATCH] Autowire the concrete rules cache in the notification base test --- .../service/notification/AbstractNotificationApiTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/service/notification/AbstractNotificationApiTest.java b/application/src/test/java/org/thingsboard/server/service/notification/AbstractNotificationApiTest.java index 635c079120..907cacbb23 100644 --- a/application/src/test/java/org/thingsboard/server/service/notification/AbstractNotificationApiTest.java +++ b/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