Skip to content

Commit 3218def

Browse files
authored
Merge pull request element-hq#13295 from vector-im/t3chguy/fix_tests
Fix tests post-js-sdk-filters change
2 parents 22b1231 + 1314a8d commit 3218def

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/app-tests/loading-test.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,6 @@ describe('loading:', function() {
312312

313313
it('shows the last known room by default', function() {
314314
httpBackend.when('GET', '/pushrules').respond(200, {});
315-
httpBackend.when('POST', '/filter').respond(200, { filter_id: 'fid' });
316315

317316
loadApp();
318317

@@ -332,7 +331,6 @@ describe('loading:', function() {
332331
localStorage.removeItem("mx_last_room_id");
333332

334333
httpBackend.when('GET', '/pushrules').respond(200, {});
335-
httpBackend.when('POST', '/filter').respond(200, { filter_id: 'fid' });
336334

337335
loadApp();
338336

@@ -350,7 +348,6 @@ describe('loading:', function() {
350348

351349
it('shows a room view if we followed a room link', function() {
352350
httpBackend.when('GET', '/pushrules').respond(200, {});
353-
httpBackend.when('POST', '/filter').respond(200, { filter_id: 'fid' });
354351

355352
loadApp({
356353
uriFragment: "#/room/!room:id",
@@ -663,7 +660,6 @@ describe('loading:', function() {
663660
return sleep(1);
664661
}).then(() => {
665662
httpBackend.when('GET', '/pushrules').respond(200, {});
666-
httpBackend.when('POST', '/filter').respond(200, { filter_id: 'fid' });
667663
return expectAndAwaitSync().catch((e) => {
668664
throw new Error("Never got /sync after login: did the client start?");
669665
});

0 commit comments

Comments
 (0)