You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2026-01-03 23:22:30 +03:00
Fix guest rooms UT to reflect reality
This commit is contained in:
@@ -423,14 +423,13 @@ describe("MatrixClient", function() {
|
||||
];
|
||||
|
||||
it("should be set via setGuestRooms and used in /sync calls", function(done) {
|
||||
httpLookups = []; // no /pushrules
|
||||
httpLookups.push(FILTER_RESPONSE);
|
||||
httpLookups = []; // no /pushrules or /filter
|
||||
httpLookups.push({
|
||||
method: "GET",
|
||||
path: "/sync",
|
||||
data: SYNC_DATA,
|
||||
expectQueryParams: {
|
||||
room_id: roomIds
|
||||
filter: JSON.stringify({ room: { rooms: roomIds } })
|
||||
},
|
||||
thenCall: function() {
|
||||
done();
|
||||
|
||||
Reference in New Issue
Block a user