File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -157,8 +157,6 @@ For a good example, see https://riot.im/develop/config.json
157157 1 . ` whitelistedHSUrls ` : a list of HS URLs to not redact from the analytics
158158 1 . ` whitelistedISUrls ` : a list of IS URLs to not redact from the analytics
159159 1 . ` siteId ` : The Piwik Site ID to use when sending analytics to the Piwik server configured above
160- 1 . ` teamServerConfig ` , ` teamTokenMap ` , ` referralBaseUrl ` : an obsolete precursor to communities
161- with referral tracking; please ignore it.
1621601 . ` welcomeUserId ` : the user ID of a bot to invite whenever users register that can give them a tour
163161
164162
Original file line number Diff line number Diff line change @@ -343,40 +343,6 @@ describe('loading:', function() {
343343 } ) . done ( done , done ) ;
344344 } ) ;
345345
346- it ( "logs in correctly with a Riot Team Server" , function ( ) {
347- sdk . setFetch ( httpBackend . fetchFn ) ; // XXX: ought to restore this!
348-
349- httpBackend . when ( 'GET' , '/pushrules' ) . respond ( 200 , { } ) ;
350- httpBackend . when ( 'POST' , '/filter' ) . respond ( 200 , { filter_id : 'fid' } ) ;
351-
352- loadApp ( {
353- config : {
354- teamServerConfig : {
355- teamServerURL : 'http://my_team_server' ,
356- } ,
357- } ,
358- } ) ;
359-
360- return Promise . delay ( 1 ) . then ( ( ) => {
361- // we expect a loading spinner while we log into the RTS
362- assertAtLoadingSpinner ( matrixChat ) ;
363-
364- httpBackend . when ( 'GET' , 'my_team_server/login' ) . respond ( 200 , {
365- team_token : 'nom' ,
366- } ) ;
367- return httpBackend . flush ( ) ;
368- } ) . then ( ( ) => {
369- return awaitSyncingSpinner ( matrixChat ) ;
370- } ) . then ( ( ) => {
371- // we got a sync spinner - let the sync complete
372- return expectAndAwaitSync ( ) ;
373- } ) . then ( ( ) => {
374- // once the sync completes, we should have a home page
375- ReactTestUtils . findRenderedComponentWithType (
376- matrixChat , sdk . getComponent ( 'structures.HomePage' ) ) ;
377- } ) ;
378- } ) ;
379-
380346 describe ( '/#/login link:' , function ( ) {
381347 beforeEach ( function ( ) {
382348 loadApp ( {
You can’t perform that action at this time.
0 commit comments