Skip to content

Commit

Permalink
Fixed frontend test
Browse files Browse the repository at this point in the history
  • Loading branch information
JmScherer committed Dec 15, 2023
1 parent f2f1a5e commit 7e4081a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/test/stores/authStore.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ describe('user.js', () => {
authStore.saveState(userResponse);

expect(authStore.hasRole('developer')).to.equal(true);
expect(authStore.state.clientId).to.equal('');
expect(authStore.state.clientId).to.equal('fake-client-id');
expect(authStore.state.clientSecret).to.equal('');
});

Expand Down Expand Up @@ -155,6 +155,7 @@ const userResponse = {
'full_name': 'Fake Name',
'email': 'fakemail@fake.com',
'scope': 'developer',
'client_id': 'fake-client-id',
};

const AccessUserAPIResponse = {
Expand Down

0 comments on commit 7e4081a

Please sign in to comment.