Skip to content

Commit

Permalink
chore: fixed invite user test
Browse files Browse the repository at this point in the history
  • Loading branch information
Saup21 committed Jun 24, 2024
1 parent 9175dc3 commit d53d7a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/client_pact_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ func TestTerraformClientPact(t *testing.T) {
Name: "terraform user",
Email: "[email protected]",
Active: true,
Type: broker.RegularUser,
Type: 0,
}

created := broker.User{
Expand Down Expand Up @@ -638,6 +638,7 @@ func TestTerraformClientPact(t *testing.T) {
t.Run("CreateUser", func(t *testing.T) {
mockProvider.
AddInteraction().
Given("user service responds correctly").
UponReceiving("a request to create a user").
WithRequest("POST", "/admin/users/invite-user", func(b *consumer.V2RequestBuilder) {
b.Header("Content-Type", S("application/json"))
Expand Down

0 comments on commit d53d7a0

Please sign in to comment.