Skip to content

Commit

Permalink
Update broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehobbsdev committed Feb 6, 2022
1 parent 7c97f36 commit dbe35d5
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions src/__tests__/connection/enterprise/actions.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,18 @@ describe('Login with connection scopes', () => {

logIn('__lock__');

expect(coreActions.logIn).toHaveBeenCalledWith('__lock__', ['password', 'username'], {
connection_scope: ['offline_access'],
connection: 'enterprise-connection',
username: 'test',
password: 'test',
login_hint: 'test'
});
expect(coreActions.logIn).toHaveBeenCalledWith(
'__lock__',
['password', 'username'],
{
connection_scope: ['offline_access'],
connection: 'enterprise-connection',
username: 'test',
password: 'test',
login_hint: 'test'
},
expect.any(Function)
);
});
});
});

0 comments on commit dbe35d5

Please sign in to comment.