Test that when dns/eve "formats" is empty, it uses the default of all.
Bug: #6420
--- /dev/null
+Test that emtpy EVE/DNS "formats" configuration results in the default
+of both formats.
+
+https://redmine.openinfosecfoundation.org/issues/6420
+
--- /dev/null
+%YAML 1.1
+---
+
+outputs:
+ - eve-log:
+ enabled: yes
+ filetype: regular
+ filename: eve.json
+ types:
+ - dns:
+ formats:
--- /dev/null
+checks:
+ - filter:
+ count: 1
+ match:
+ pcap_cnt: 8
+ dns.answers[0].rrtype: A
+ dns.grouped.A[0]: "52.85.112.21"