DEV: Fix tests (#51)

Core now needs tests to set a default composer category.
This commit is contained in:
Penar Musaraj 2023-01-02 05:07:50 -05:00 committed by GitHub
parent 77380c93d8
commit ed6634f6a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,10 @@ import { test } from "qunit";
acceptance("DiscoTOC - Composer", function (needs) { acceptance("DiscoTOC - Composer", function (needs) {
needs.user(); needs.user();
needs.settings({
general_category_id: 1,
default_composer_category: 1,
});
test("Can use TOC when creating a topic", async function (assert) { test("Can use TOC when creating a topic", async function (assert) {
await visit("/"); await visit("/");