REFACTOR: Remove Ember.Controller in favor of import

This commit is contained in:
Robin Ward
2019-10-23 13:06:54 -04:00
parent e18af18fec
commit 6287eccb35
172 changed files with 623 additions and 462 deletions

View File

@ -1,11 +1,10 @@
import Controller from "@ember/controller";
import GrantBadgeControllerMixin from "discourse/mixins/grant-badge-controller";
import Badge from "discourse/models/badge";
QUnit.module("mixin:grant-badge-controller", {
before: function() {
this.GrantBadgeController = Ember.Controller.extend(
GrantBadgeControllerMixin
);
this.GrantBadgeController = Controller.extend(GrantBadgeControllerMixin);
this.badgeFirst = Badge.create({
id: 3,