DEV: Add test (#8250)

Follow-up to 2863e7c181843261a0d7b6c9255185a38b7f2680.
This commit is contained in:
Bianca Nenciu
2019-10-29 12:12:09 +02:00
committed by GitHub
parent ff9345fbb0
commit 1531644288
2 changed files with 37 additions and 0 deletions

View File

@ -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 }),