diff --git a/app/assets/javascripts/discourse/tests/helpers/notifications-tracking-assertions.js b/app/assets/javascripts/discourse/tests/helpers/notifications-tracking-assertions.js index 9e0cc8167da..8d94e9e39fe 100644 --- a/app/assets/javascripts/discourse/tests/helpers/notifications-tracking-assertions.js +++ b/app/assets/javascripts/discourse/tests/helpers/notifications-tracking-assertions.js @@ -18,7 +18,7 @@ class NotificationsTracking { } hasSelectedLevelId(id, message) { - this.context.dom(this.element).hasAttribute("data-level-id", name, message); + this.context.dom(this.element).hasAttribute("data-level-id", id, message); } }