Fix #89: Always use username in sidebar
This commit is contained in:
parent
ca30b5ef69
commit
fbb256bc9b
3 changed files with 4 additions and 0 deletions
|
|
@ -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: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue