7383-testToMaster #370

Merged
alexm merged 365 commits from 7383-testToMaster into master 2024-05-14 05:46:56 +00:00
1 changed files with 11 additions and 3 deletions
Showing only changes of commit 04fe9330d4 - Show all commits

View File

@ -96,7 +96,11 @@ describe('session', () => {
const expectedTokenMultimedia = 'mySessionTokenMultimedia';
const keepLogin = false;
await session.login(expectedToken,expectedTokenMultimedia, keepLogin);
await session.login({
token: expectedToken,
tokenMultimedia: expectedTokenMultimedia,
keepLogin,
});
const roles = state.getRoles();
const localToken = localStorage.getItem('token');
@ -119,7 +123,11 @@ describe('session', () => {
const expectedTokenMultimedia = 'myLocalTokenMultimedia';
const keepLogin = true;
await session.login(expectedToken, expectedTokenMultimedia, keepLogin);
await session.login({
token: expectedToken,
tokenMultimedia: expectedTokenMultimedia,
keepLogin,
});
const roles = state.getRoles();
const localToken = localStorage.getItem('token');