diff --git a/webapp/components/notifications/NotificationMenu/NotificationMenu.spec.js b/webapp/components/notifications/NotificationMenu/NotificationMenu.spec.js
index b8d988b58..5805f475e 100644
--- a/webapp/components/notifications/NotificationMenu/NotificationMenu.spec.js
+++ b/webapp/components/notifications/NotificationMenu/NotificationMenu.spec.js
@@ -79,12 +79,26 @@ describe('NotificationMenu.vue', () => {
},
},
},
+ {
+ id: 'notification-43',
+ read: true,
+ post: {
+ id: 'post-3',
+ title: 'red post title',
+ contentExcerpt: 'this is yet another post content',
+ author: {
+ id: 'john-1',
+ slug: 'john-doe',
+ name: 'John Doe',
+ },
+ },
+ },
],
}
}
})
- it('displays the total number of notifications', () => {
+ it('displays the unred number of notifications', () => {
wrapper = Wrapper()
expect(wrapper.find('ds-button-stub').text()).toEqual('2')
})
diff --git a/webapp/components/notifications/NotificationMenu/NotificationMenu.vue b/webapp/components/notifications/NotificationMenu/NotificationMenu.vue
index f96bd9e73..cbb351d8e 100644
--- a/webapp/components/notifications/NotificationMenu/NotificationMenu.vue
+++ b/webapp/components/notifications/NotificationMenu/NotificationMenu.vue
@@ -5,7 +5,7 @@
@click.prevent="updateNotifications"
>