mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
DEV: Add test (#8250)
Follow-up to 2863e7c181843261a0d7b6c9255185a38b7f2680.
This commit is contained in:
@ -33,6 +33,7 @@ export default function(name, opts) {
|
||||
this.registry.register("current-user:main", this.currentUser, {
|
||||
instantiate: false
|
||||
});
|
||||
this.registry.injection("component", "currentUser", "current-user:main");
|
||||
this.registry.register(
|
||||
"topic-tracking-state:main",
|
||||
TopicTrackingState.create({ currentUser }),
|
||||
|
Reference in New Issue
Block a user