Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jptosso committed Aug 5, 2023
1 parent dc24800 commit 12736f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/auditlog/formats_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func TestNativeFormatter(t *testing.T) {
if err != nil {
t.Error(err)
}
if !strings.Contains(f.MIME(), "json") {
if !strings.Contains(f.MIME(), "x-coraza-auditlog-native") {
t.Errorf("failed to match MIME, expected json and got %s", f.MIME())
}
// Log contains random strings, do a simple sanity check
Expand Down

0 comments on commit 12736f9

Please sign in to comment.