Skip to content

Commit

Permalink
chore: fixed update user role test
Browse files Browse the repository at this point in the history
  • Loading branch information
Saup21 committed Jun 21, 2024
1 parent 9e1b8e2 commit d4a4f36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/client_pact_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ func TestTerraformClientPact(t *testing.T) {
b.JSONBody(Like(setUserRoles))

}).
WillRespondWith(200)
WillRespondWith(204)

err = mockProvider.ExecuteTest(t, func(config consumer.MockServerConfig) error {
client := clientForPact(config)
Expand Down Expand Up @@ -914,7 +914,7 @@ func TestTerraformClientPact(t *testing.T) {
b.Header("Authorization", Like("Bearer 1234"))
b.JSONBody(Like(setUserRoles))
}).
WillRespondWith(200)
WillRespondWith(204)

err = mockProvider.ExecuteTest(t, func(config consumer.MockServerConfig) error {
client := clientForPact(config)
Expand Down

0 comments on commit d4a4f36

Please sign in to comment.