diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-08-22 22:29:13 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-08-22 22:29:13 +0000 |
| commit | 272b748f26d0bb7b9f3a00336a908d507f4169bc (patch) | |
| tree | e0d102a21b4a62aab390617b2b217341cb969e3d /test/unit/specs/components/user_profile.spec.js | |
| parent | a403f93b478eec67d779400b1fcfdc006bb787da (diff) | |
| parent | 88a3cf8705f925c31b5fad67d0fb709a51447156 (diff) | |
Merge branch 'develop' into 'allow-opening-profile-in-user-popover'
# Conflicts:
# src/components/settings_modal/tabs/general_tab.vue
Diffstat (limited to 'test/unit/specs/components/user_profile.spec.js')
| -rw-r--r-- | test/unit/specs/components/user_profile.spec.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/unit/specs/components/user_profile.spec.js b/test/unit/specs/components/user_profile.spec.js index 0fbab722..dc0b938a 100644 --- a/test/unit/specs/components/user_profile.spec.js +++ b/test/unit/specs/components/user_profile.spec.js @@ -15,6 +15,7 @@ const actions = { const testGetters = { findUser: state => getters.findUser(state.users), + findUserByName: state => getters.findUserByName(state.users), relationship: state => getters.relationship(state.users), mergedConfig: state => ({ colors: '', @@ -95,6 +96,7 @@ const externalProfileStore = createStore({ credentials: '' }, usersObject: { 100: extUser }, + usersByNameObject: {}, users: [extUser], relationships: {} } @@ -163,7 +165,8 @@ const localProfileStore = createStore({ currentUser: { credentials: '' }, - usersObject: { 100: localUser, testuser: localUser }, + usersObject: { 100: localUser }, + usersByNameObject: { testuser: localUser }, users: [localUser], relationships: {} } |
