mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 11:08:33 +08:00
Remove Discourse
constant usage (#10470)
* REFACTOR: Get us closer to no `Discourse` constants in tests * REFACTOR: Remove `Discourse.currentUser` * REFACTOR: `prioritizeNameInUx` is really a helper and can use context * REFACTOR: Rename test * REFACTOR: Remove `Discourse.MarkdownItURL` and use session * REFACTOR: Remove unused `LetterAvatarVersion` * REFACTOR: Remove unused `Discourse.ThemeSettings` * REFACTOR: Remove unused CDN constants * REFACTOR: The `globalNotice` property doesn't exist anymore * REFACTOR: Remove `Discourse.__container__` from plugin api * REFACTOR: Consider `logout()` a helper and remove container.
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import EmailLog from "admin/models/email-log";
|
||||
import { setPrefix } from "discourse-common/lib/get-url";
|
||||
|
||||
QUnit.module("Discourse.EmailLog");
|
||||
QUnit.module("model:email-log");
|
||||
|
||||
QUnit.test("create", assert => {
|
||||
assert.ok(EmailLog.create(), "it can be created without arguments");
|
||||
|
Reference in New Issue
Block a user