Skip to content

Commit 574f865

Browse files
committed
consistency improvement
Signed-off-by: Raffaele Di Fazio <[email protected]>
1 parent c375899 commit 574f865

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

provider/webhook/webhook_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,7 @@ func TestApplyChangesWithProviderSpecificProperty(t *testing.T) {
233233
var changes plan.Changes
234234
defer r.Body.Close()
235235
b, err := io.ReadAll(r.Body)
236-
if err != nil {
237-
t.Fatal(err)
238-
}
236+
require.Nil(t, err)
239237
err = json.Unmarshal(b, &changes)
240238
require.Nil(t, err)
241239
require.Len(t, changes.Create, 1)

0 commit comments

Comments
 (0)