Skip to content

Commit

Permalink
consistency improvement
Browse files Browse the repository at this point in the history
Signed-off-by: Raffaele Di Fazio <[email protected]>
  • Loading branch information
Raffo committed May 11, 2024
1 parent c375899 commit 574f865
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions provider/webhook/webhook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,7 @@ func TestApplyChangesWithProviderSpecificProperty(t *testing.T) {
var changes plan.Changes
defer r.Body.Close()
b, err := io.ReadAll(r.Body)
if err != nil {
t.Fatal(err)
}
require.Nil(t, err)
err = json.Unmarshal(b, &changes)
require.Nil(t, err)
require.Len(t, changes.Create, 1)
Expand Down

0 comments on commit 574f865

Please sign in to comment.