REFACTOR: Remove Discourse.Category constants

This commit is contained in:
Robin Ward
2019-11-08 13:30:41 -05:00
parent e51efce356
commit 7ac2a55588
28 changed files with 95 additions and 78 deletions

View File

@ -1,11 +1,12 @@
import { run } from "@ember/runloop";
import createStore from "helpers/create-store";
import NavItem from "discourse/models/nav-item";
import Category from "discourse/models/category";
QUnit.module("NavItem", {
beforeEach() {
run(function() {
const asianCategory = Discourse.Category.create({
const asianCategory = Category.create({
name: "确实是这样",
id: 343434
});