fix: enhanced test cases, removed so file

This commit is contained in:
rupinder-syngh
2025-04-07 08:55:24 +05:30
parent 5ca64dfa36
commit c2f215b744
4 changed files with 236 additions and 287 deletions

18
pkg/plugin/testdata/dummy.go vendored Normal file
View File

@@ -0,0 +1,18 @@
package main
import (
"context"
"github.com/beckn/beckn-onix/pkg/plugin/definition"
"github.com/beckn/beckn-onix/pkg/plugin/implementation/encrypter"
)
// encrypterProvider implements the definition.encrypterProvider interface.
type encrypterProvider struct{}
func (ep encrypterProvider) New(ctx context.Context, config map[string]string) (definition.Encrypter, func() error, error) {
return encrypter.New(ctx)
}
// Provider is the exported symbol that the plugin manager will look for.
var Provider = encrypterProvider{}

Binary file not shown.