Skip to content

Commit d0618c4

Browse files
committed
Update test now that /publicRooms is a post
1 parent 0bce7f3 commit d0618c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/app-tests/joining.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ describe('joining a room', function () {
7676
httpBackend.when('GET', '/pushrules').respond(200, {});
7777
httpBackend.when('POST', '/filter').respond(200, { filter_id: 'fid' });
7878
httpBackend.when('GET', '/sync').respond(200, {});
79-
httpBackend.when('GET', '/publicRooms').respond(200, {chunk: []});
79+
httpBackend.when('POST', '/publicRooms').respond(200, {chunk: []});
8080
httpBackend.when('GET', '/directory/room/'+encodeURIComponent(ROOM_ALIAS)).respond(200, { room_id: ROOM_ID });
8181

8282
// start with a logged-in client

0 commit comments

Comments
 (0)