1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-30 02:21:17 +03:00

Fix predecessor tests broken (#10123)

This commit is contained in:
Germain
2023-02-09 12:46:17 +00:00
committed by GitHub
parent c4a6cc8e65
commit 8fe5714673
3 changed files with 5 additions and 4 deletions

View File

@ -113,10 +113,10 @@ describe("RoomNotifs test", () => {
event: true,
type: "m.room.create",
room: ROOM_ID,
user: client.getUserId()!,
user: "@zoe:localhost",
content: {
...(predecessorId ? { predecessor: { room_id: predecessorId, event_id: "$someevent" } } : {}),
creator: client.getUserId(),
creator: "@zoe:localhost",
room_version: "5",
},
ts: Date.now(),
@ -128,7 +128,7 @@ describe("RoomNotifs test", () => {
event: true,
type: EventType.RoomPredecessor,
room: ROOM_ID,
user: client.getUserId()!,
user: "@zoe:localhost",
skey: "",
content: {
predecessor_room_id: predecessorId,