From 9f2c1eef3f01f92feb03e129d717c5ba4e8469f3 Mon Sep 17 00:00:00 2001 From: Holash Chand Date: Wed, 6 Sep 2023 11:20:45 +0530 Subject: [PATCH] fixed registry helper tests failing --- .../java/dev/sunbirdrc/registry/helper/RegistryHelperTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java/registry/src/test/java/dev/sunbirdrc/registry/helper/RegistryHelperTest.java b/java/registry/src/test/java/dev/sunbirdrc/registry/helper/RegistryHelperTest.java index 5dcd4c904..933f18f5f 100644 --- a/java/registry/src/test/java/dev/sunbirdrc/registry/helper/RegistryHelperTest.java +++ b/java/registry/src/test/java/dev/sunbirdrc/registry/helper/RegistryHelperTest.java @@ -140,6 +140,8 @@ public void initMocks() { RuleEngineService ruleEngineService = new RuleEngineService(kieContainer, keycloakAdminUtil); registryHelper.entityStateHelper = new EntityStateHelper(definitionsManager, ruleEngineService, conditionResolverService, claimRequestClient); registryHelper.setDefinitionsManager(definitionsManager); + registryHelper.setNotificationEnabled(true); + registryHelper.setSecurityEnabled(true); } @Test