Fix #89: Always use username in sidebar

This commit is contained in:
Eliot Berriot 2018-02-27 17:51:27 +01:00
commit fbb256bc9b
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
3 changed files with 4 additions and 0 deletions

View file

@ -176,6 +176,7 @@ describe('store/auth', () => {
action: store.actions.fetchProfile,
expectedMutations: [
{ type: 'profile', payload: profile },
{ type: 'username', payload: profile.username },
{ type: 'permission', payload: {key: 'admin', status: true} }
],
expectedActions: [