ソースを参照

fix: fixed failing unit test

Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Gustavo Carvalho 4 年 前
コミット
61b7c2a671
1 ファイル変更1 行追加1 行削除
  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"),
 		},
 		{
-			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"),
 		},
 		{