From e5638870222a8a711a2a57c085aa0b5b23be3467 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Wed, 22 Jan 2020 13:17:11 +0100 Subject: [PATCH] Fix test in 'NotificationsTable.spec.js' for new 'user-teaser' component --- .../components/NotificationsTable/NotificationsTable.spec.js | 2 +- webapp/components/UserTeaser/UserTeaser.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/webapp/components/NotificationsTable/NotificationsTable.spec.js b/webapp/components/NotificationsTable/NotificationsTable.spec.js index d15ff3691..18fa0c930 100644 --- a/webapp/components/NotificationsTable/NotificationsTable.spec.js +++ b/webapp/components/NotificationsTable/NotificationsTable.spec.js @@ -152,7 +152,7 @@ describe('NotificationsTable.vue', () => { }) it('renders me as the triggerer', () => { - const triggererName = thirdRowNotification.find('.username') + const triggererName = thirdRowNotification.find('.userName-for-test') expect(triggererName.text()).toEqual('myName') }) diff --git a/webapp/components/UserTeaser/UserTeaser.vue b/webapp/components/UserTeaser/UserTeaser.vue index 9d1b22fd9..4db45ba52 100644 --- a/webapp/components/UserTeaser/UserTeaser.vue +++ b/webapp/components/UserTeaser/UserTeaser.vue @@ -20,14 +20,14 @@
{{ userSlug }} - {{ userName }} + {{ userName }} - {{ userName }} + {{ userName }}