Skip to content

Commit

Permalink
added assert for details
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-fbudzynski committed Sep 24, 2024
1 parent eed310a commit af2e030
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/sdk/testint/secrets_gen_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -454,12 +454,19 @@ func TestInt_Secrets(t *testing.T) {
*sdk.NewSecretUnsetRequest().
WithComment(true),
)

err = client.Secrets.Alter(ctx, unsetRequest)
require.NoError(t, err)

details, err := client.Secrets.Describe(ctx, id)
require.NoError(t, err)

assertSecretDetails(details, secretDetails{
Name: id.Name(),
SecretType: "GENERIC_STRING",
Comment: nil,
})

assert.Empty(t, details.Comment)
})

Expand Down

0 comments on commit af2e030

Please sign in to comment.