From f466b9abb521efc61229c6c10cee5b6b82ddb793 Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Wed, 7 Jun 2023 13:16:01 -0500 Subject: [PATCH] Fix wrong usage of `ensureRoomJoined()` --- test/e2e-tests.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/e2e-tests.js b/test/e2e-tests.js index 64bceb6..f7b4bc2 100644 --- a/test/e2e-tests.js +++ b/test/e2e-tests.js @@ -1004,10 +1004,7 @@ describe('matrix-public-archive', () => { // the archive user here and want the same join `reason` to avoid a new // state event being created (`joinRoom` -> `{ displayname, membership }` // whereas `ensureRoomJoined` -> `{ reason, displayname, membership }`) - await ensureRoomJoined({ - accessToken: archiveAppServiceUserClient.accessToken, - roomIdOrAlias: roomId, - }); + await ensureRoomJoined(archiveAppServiceUserClient.accessToken, roomId); // Just spread things out a bit so the event times are more obvious // and stand out from each other while debugging and so we just have