Skip to content

Commit 29ee916

Browse files
Cancelled title
1 parent d144861 commit 29ee916

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/backend/src/tests/test_events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1991,7 +1991,7 @@ def test_GetEventCalendarFile(db, moderator: Moderator):
19911991

19921992
file_res = api.GetEventCalendarFile(events_pb2.GetEventCalendarFileReq(event_id=event_id))
19931993
ics_string = file_res.data.decode("utf-8")
1994-
assert "SUMMARY:Dummy Title" in ics_string # Other props have not changed
1994+
assert "SUMMARY:Cancelled: Dummy Title" in ics_string
19951995
assert "STATUS:CANCELLED" in ics_string
19961996
post_cancel_sequence = int(re.search(r"SEQUENCE:(\d+)", ics_string).group(1))
19971997
# Ideally the sequence number are strictly ascending, but they are based on timestamps so in tests they could be equal.

0 commit comments

Comments
 (0)