diff --git a/webapp/components/features/ProfileList/FollowList.spec.js b/webapp/components/features/ProfileList/FollowList.spec.js index 07214ae38..1c657402f 100644 --- a/webapp/components/features/ProfileList/FollowList.spec.js +++ b/webapp/components/features/ProfileList/FollowList.spec.js @@ -74,7 +74,7 @@ describe('FollowList.vue', () => { expect(wrapper.vm.allConnectionsCount).toBe(user.followingCount) expect(wrapper.findAll('.user-teaser')).toHaveLength(user.following.length) - expect(wrapper.emitted('fetchAllConnections')).toEqual([['following']]) + expect(wrapper.emitted('fetchAllConnections')).toEqual([['following', user['followingCount']]]) }) }) @@ -85,7 +85,7 @@ describe('FollowList.vue', () => { expect(wrapper.vm.allConnectionsCount).toBe(user.followedByCount) expect(wrapper.findAll('.user-teaser')).toHaveLength(user.followedBy.length) - expect(wrapper.emitted('fetchAllConnections')).toEqual([['followedBy']]) + expect(wrapper.emitted('fetchAllConnections')).toEqual([['followedBy', user['followedByCount']]]) }) }) })