Skip to content

Commit

Permalink
fix Clean
Browse files Browse the repository at this point in the history
  • Loading branch information
M4tteoP committed Oct 10, 2022
1 parent 9be9f0a commit e3864e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/corazawaf/transaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ func TestRequestBodyProcessingIsntAvailable(t *testing.T) {
if tx.Variables.RequestBody.String() != "" {
t.Error("unexpected request body")
}
if err := tx.Clean(); err != nil {
if err := tx.Close(); err != nil {
t.Error(err)
}
}
Expand Down

0 comments on commit e3864e2

Please sign in to comment.