fix loading test for new sso pattern

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-06-03 20:34:20 +01:00
parent d18b0f87d4
commit 19ff8dde1f

View File

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