fix loading test for new sso pattern

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/13915/head
Michael Telatynski 2020-06-03 20:34:20 +01:00
parent ddf3d92d43
commit 1b7accddfd
1 changed files with 3 additions and 1 deletions

View File

@ -589,8 +589,10 @@ describe('loading:', function() {
describe('Token login:', function() {
it('logs in successfully', function() {
localStorage.setItem("mx_hs_url", "https://homeserver");
localStorage.setItem("mx_is_url", "https://idserver");
loadApp({
queryString: "?loginToken=secretToken&homeserver=https%3A%2F%2Fhomeserver&identityServer=https%3A%2F%2Fidserver",
queryString: "?loginToken=secretToken",
});
return sleep(1).then(() => {