Skip to content

Commit

Permalink
replace json test
Browse files Browse the repository at this point in the history
  • Loading branch information
jptosso committed Jun 26, 2023
1 parent b06eefe commit 586ddf4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion internal/auditlog/https_writer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,19 @@ import (
"testing"

"github.com/corazawaf/coraza/v3/experimental/plugins/plugintypes"
"github.com/corazawaf/coraza/v3/types"
)

func TestHTTPSAuditLog(t *testing.T) {
writer := &httpsWriter{}
formatter := jsonFormatter
formatter := nativeFormatter
pts, err := types.ParseAuditLogParts("ABCDEZ")
if err != nil {
t.Fatal(err)
}
al := &Log{
Parts_: pts,

Transaction_: Transaction{
ID_: "test123",
},
Expand Down

0 comments on commit 586ddf4

Please sign in to comment.