diff options
Diffstat (limited to 'src/tests.rs')
-rw-r--r-- | src/tests.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tests.rs b/src/tests.rs index 1547855299bf..779add7a7012 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -8,7 +8,8 @@ fn test_text_entry_serialization() { timestamp: None, payload: Payload::TextPayload { text_payload: "test entry".into(), - } + }, + severity: None, }; let expected = "{\"labels\":null,\"textPayload\":\"test entry\"}"; @@ -26,7 +27,8 @@ fn test_json_entry_serialization() { json_payload: json!({ "message": "JSON test" }) - } + }, + severity: None, }; let expected = "{\"labels\":null,\"jsonPayload\":{\"message\":\"JSON test\"}}"; |