Browse Source

complete apiOutput

rodmartinez 4 years ago
parent
commit
9f98cabe63
1 changed files with 5 additions and 2 deletions
  1. 5 2
      pkg/provider/oracle/oracle_test.go

+ 5 - 2
pkg/provider/oracle/oracle_test.go

@@ -101,8 +101,11 @@ func TestOracleVaultGetSecret(t *testing.T) {
 		smtc.apiOutput = &secrets.GetSecretBundleResponse{
 			Etag: utilpointer.StringPtr("test-name"),
 			SecretBundle: secrets.SecretBundle{
-				SecretId:            ,
-				SecretBundleContent: ,
+				SecretId: utilpointer.StringPtr("test-id"),
+				VersionNumber: utilpointer.Int64(1),
+				SecretBundleContent: secrets.Base64SecretBundleContentDetails{
+					Content: utilpointer.StringPtr(secretValue),
+				},
 			},
 		}
 		smtc.expectedSecret = secretValue