DEV: Add `pluginId` for more stable tests (#196)

DEV: Add pluginId for more stable tests (#196)

diff --git a/assets/javascripts/discourse-assign/initializers/extend-for-assigns.js.es6 b/assets/javascripts/discourse-assign/initializers/extend-for-assigns.js.es6
index b8a08f9..6c45c96 100644
--- a/assets/javascripts/discourse-assign/initializers/extend-for-assigns.js.es6
+++ b/assets/javascripts/discourse-assign/initializers/extend-for-assigns.js.es6
@@ -15,6 +15,8 @@ import { inject } from "@ember/controller";
 import I18n from "I18n";
 import { get } from "@ember/object";
 
+const PLUGIN_ID = "discourse-assign";
+
 function titleForState(name) {
   if (name) {
     return I18n.t("discourse_assign.unassign.help", {
@@ -164,6 +166,8 @@ function initialize(api) {
   );
 
   api.modifyClass("model:topic", {
+    pluginId: PLUGIN_ID,
+
     @discourseComputed("assigned_to_user")
     assignedToUserPath(assignedToUser) {
       return getURL(
@@ -180,6 +184,8 @@ function initialize(api) {
   });
 
   api.modifyClass("model:bookmark", {
+    pluginId: PLUGIN_ID,
+
     @discourseComputed("assigned_to_user")
     assignedToUserPath(assignedToUser) {
       return getURL(
@@ -268,6 +274,8 @@ function initialize(api) {
   });
 
   api.modifyClass("controller:topic", {
+    pluginId: PLUGIN_ID,
+
     subscribe() {
       this._super(...arguments);
 
@@ -336,6 +344,8 @@ function initialize(api) {
   );
 
   api.modifyClass("controller:preferences/notifications", {
+    pluginId: PLUGIN_ID,
+
     actions: {
       save() {
         this.saveAttrNames.push("custom_fields");

GitHub sha: f541158b64ee56768d5aa8ec8f7af384f35ddb66

This commit appears in #196 which was approved by CvX. It was merged by eviltrout.