Explorar o código

fix: fixed failing unit test

Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Gustavo Carvalho %!s(int64=4) %!d(string=hai) anos
pai
achega
61b7c2a671
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pkg/provider/oracle/oracle_test.go

+ 1 - 1
pkg/provider/oracle/oracle_test.go

@@ -278,7 +278,7 @@ func TestValidateStore(t *testing.T) {
 			err:   fmt.Errorf("fingerprint.name cannot be empty"),
 			err:   fmt.Errorf("fingerprint.name cannot be empty"),
 		},
 		},
 		{
 		{
-			store: makeSecretStore(vaultOCID, region, withSecretAuth(userOCID, tenant), withPrivateKey(secretName, secretKey, nil), withFingerprint(secretName, secretKey, nil)),
+			store: makeSecretStore(vaultOCID, region, withSecretAuth(userOCID, tenant), withPrivateKey(secretName, secretKey, nil), withFingerprint(secretName, secretKey, &namespace)),
 			err:   fmt.Errorf("namespace not allowed with namespaced SecretStore"),
 			err:   fmt.Errorf("namespace not allowed with namespaced SecretStore"),
 		},
 		},
 		{
 		{