From d0618c4f49de94c432a9bcc7bc63b9d0d696be5f Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 16 Sep 2016 20:49:28 +0100 Subject: [PATCH] Update test now that /publicRooms is a post --- test/app-tests/joining.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/app-tests/joining.js b/test/app-tests/joining.js index 22b018d1..a668c2b1 100644 --- a/test/app-tests/joining.js +++ b/test/app-tests/joining.js @@ -76,7 +76,7 @@ describe('joining a room', function () { httpBackend.when('GET', '/pushrules').respond(200, {}); httpBackend.when('POST', '/filter').respond(200, { filter_id: 'fid' }); httpBackend.when('GET', '/sync').respond(200, {}); - httpBackend.when('GET', '/publicRooms').respond(200, {chunk: []}); + httpBackend.when('POST', '/publicRooms').respond(200, {chunk: []}); httpBackend.when('GET', '/directory/room/'+encodeURIComponent(ROOM_ALIAS)).respond(200, { room_id: ROOM_ID }); // start with a logged-in client