DEV: Modernize chat getOwner usage (#23671)

See 8958b4f76af85ddc89c8a3b6434dcfbd4274d569 for motivation
This commit is contained in:
David Taylor
2023-09-26 18:05:34 +01:00
committed by GitHub
parent 52722c7086
commit a673004777
19 changed files with 40 additions and 26 deletions

View File

@ -1,6 +1,6 @@
import { setupTest } from "ember-qunit";
import { module, test } from "qunit";
import { getOwner } from "discourse-common/lib/get-owner";
import { getOwner } from "@ember/application";
import { withPluginApi } from "discourse/lib/plugin-api";
import User from "discourse/models/user";
import ChatMessageInteractor, {