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:
H0llyW00dzZ 2025-01-24 17:01:34 +07:00
parent f22bed1f12
commit b572c71570
Signed by: H0llyW00dzZ
GPG Key ID: A0F9424A7002343A

View File

@ -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"},