@@ -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