Skip to content

Commit

Permalink
dump even more
Browse files Browse the repository at this point in the history
  • Loading branch information
nfagerlund committed Nov 8, 2023
1 parent fb74714 commit 754f394
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion policy_set_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,13 @@ func TestPolicySetsCreate(t *testing.T) {

ps, err := client.PolicySets.Update(ctx, vcsPolicyID, options)
require.NoError(t, err)
ps2, err2 := client.PolicySets.Read(ctx, vcsPolicyID)
require.NoError(t, err2)

assert.Equal(t, ps.Name, *options.Name)
assert.Equal(t, ps.Description, "")
assert.False(t, ps.Global)
assert.Equal(t, ps.PoliciesPath, "/policy-sets/bar", "dump everything: %#v", ps)
assert.Equal(t, ps.PoliciesPath, "/policy-sets/bar", "dump everything: %s\n\n\n%#v\n\n\n%#v", ps, ps2, err)
assert.Equal(t, ps.VCSRepo.Branch, "policies")
assert.Equal(t, ps.VCSRepo.DisplayIdentifier, githubIdentifier)
assert.Equal(t, ps.VCSRepo.Identifier, githubIdentifier)
Expand Down

0 comments on commit 754f394

Please sign in to comment.