1
0
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:
Kegan Dougal
2016-01-05 16:57:59 +00:00
parent f12499c6bf
commit 445491c4ad

View File

@@ -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();