Skip to content

Commit 6497ca0

Browse files
authored
Update src/events.rs
Signed-off-by: EdJoPaTo <github@edjopato.de>
1 parent 2525adb commit 6497ca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/events.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ fn can_deserialize_event_entry() -> Result<(), serde_json::Error> {
4949
use chrono::NaiveDate;
5050

5151
let test: EventEntry = serde_json::from_str(
52-
r#"{"Id": "1", "Name": "BTI1-TI", "Location": "1060", "Description": "Dozent: HTM", "StartTime": "2022-01-13T11:40:00", "EndTime": "2022-01-13T12:00:00"}"#,
52+
r#"{"Name": "BTI1-TI", "Location": "1060", "Description": "Dozent: HTM", "StartTime": "2022-01-13T11:40:00", "EndTime": "2022-01-13T12:00:00"}"#,
5353
)?;
5454

5555
assert_eq!(test.name, "BTI1-TI");

0 commit comments

Comments
 (0)