Added Test cases for the module

- Code coverage for Module is 93.1%
This commit is contained in:
MohitKatare-protean
2025-03-26 11:54:27 +05:30
parent ec558558c5
commit ff680dacbb
3 changed files with 169 additions and 4 deletions

View File

@@ -189,7 +189,7 @@ func loadKeyManager(ctx context.Context, mgr PluginManager, cache definition.Cac
}
// initPlugins initializes required plugins for the processor.
func (h *stdHandler) initPlugins(ctx context.Context, mgr PluginManager, cfg *pluginCfg, regURL string) error {
func (h *stdHandler) initPlugins(ctx context.Context, mgr PluginManager, cfg *PluginCfg, regURL string) error {
var err error
if h.cache, err = loadPlugin(ctx, "Cache", cfg.Cache, mgr.Cache); err != nil {
return err