Skip to content
Snippets Groups Projects
Commit 6b60cd37 authored by ko_oler's avatar ko_oler
Browse files

fix test

parent 88aba0ce
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ func TestEntry_ToMap(t *testing.T) { ...@@ -42,7 +42,7 @@ func TestEntry_ToMap(t *testing.T) {
nil, nil,
nil, nil,
}, },
map[string]interface{}{"caller_id": "/users/<user_id>", "category": "", "component": "", "event": "", "id": "1", "log_level": Level(0), "message": "message", "space_id": "<space_id>", "env_id": "<env_id>", "object_id": "/spaces/<space_id>/envs/<env_id>", "timestamp": time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), "type": "environment"}, map[string]interface{}{"caller": map[string]interface{}{"type": "user", "user_id": "<user_id>"}, "caller_id": "/users/<user_id>", "category": "", "component": "", "event": "", "id": "1", "log_level": Level(0), "message": "message", "object": map[string]interface{}{"env_id": "<env_id>", "space_id": "<space_id>", "type": "environment"}, "object_id": "/spaces/<space_id>/envs/<env_id>", "timestamp": time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC)},
}, },
} }
for _, tt := range tests { for _, tt := range tests {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment