Skip to content

A platform for community discussion. Free, open, simple.

DEV: fixes typo in notifications-tracking assertions (#30371)

Joffrey JAFFEUX9ca8f706bf01
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);
}
}