From db93e6e5c34f7ecd50e0e799b296c7a2230be74f Mon Sep 17 00:00:00 2001 From: Binbin Li Date: Thu, 21 Sep 2023 07:04:52 +0000 Subject: [PATCH] fix: fix broken test --- pkg/policyprovider/factory/factory_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/policyprovider/factory/factory_test.go b/pkg/policyprovider/factory/factory_test.go index a0171049e7..157c6972e3 100644 --- a/pkg/policyprovider/factory/factory_test.go +++ b/pkg/policyprovider/factory/factory_test.go @@ -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{}{