mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
fixes Ember's deprecation errors in NotificationsController unit tests
This commit is contained in:
@ -20,6 +20,7 @@ module("Discourse.NotificationsController", {
|
|||||||
controller = Discourse.NotificationsController.create();
|
controller = Discourse.NotificationsController.create();
|
||||||
|
|
||||||
view = Ember.View.create({
|
view = Ember.View.create({
|
||||||
|
container: Discourse.__container__,
|
||||||
controller: controller,
|
controller: controller,
|
||||||
templateName: "notifications"
|
templateName: "notifications"
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user