Merge pull request #13913 from vector-im/t3chguy/sso-query

fix loading test for new sso pattern
This commit is contained in:
Michael Telatynski 2020-06-03 20:42:24 +01:00 committed by GitHub
commit c75e888c90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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(() => {