Skip to content

Commit

Permalink
fix: fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
binbin-li committed Sep 21, 2023
1 parent 9548899 commit db93e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/policyprovider/factory/factory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func (f *TestPolicyProviderFactory) Create(_ config.PolicyPluginConfig) (policyp
// Checks the correct registered policy provider is invoked based on config
func TestCreatePolicyProvidersFromConfig_BuiltInPolicyProviders_ReturnsExpected(t *testing.T) {
builtInPolicyProviders = map[string]PolicyFactory{
"test-policyprovider": &TestPolicyProviderFactory{},
"testpolicyprovider": &TestPolicyProviderFactory{},
}

configPolicyConfig := map[string]interface{}{
Expand Down

0 comments on commit db93e6e

Please sign in to comment.