Improve Test [Exporter] JSON Exporter
- [+] fix(exporter_test.go): change type of messages from map[string]interface{} to map[string]any
This commit is contained in:
parent
f22bed1f12
commit
b572c71570
@ -15,7 +15,7 @@ import (
|
||||
|
||||
func TestJSONExporter(t *testing.T) {
|
||||
// Create a sample message
|
||||
messages := []map[string]interface{}{
|
||||
messages := []map[string]any{
|
||||
{
|
||||
"id": "1",
|
||||
"from": []string{"contact@example.org"},
|
||||
|
Loading…
x
Reference in New Issue
Block a user