FIX: uses only global allow_uncategorized_topics for category drop (#9130)

This commit is contained in:
Joffrey JAFFEUX
2020-03-06 20:11:21 +01:00
committed by GitHub
parent 763a065df9
commit 29c9d8a133
2 changed files with 7 additions and 9 deletions
@@ -187,10 +187,11 @@ componentTest("hideParentCategory (true)", {
}
});
componentTest("allowUncategorized (default: true)", {
componentTest("allow_uncategorized_topics (true)", {
template: template(),
beforeEach() {
this.siteSettings.allow_uncategorized_topics = true;
initCategories(this);
},
@@ -203,10 +204,11 @@ componentTest("allowUncategorized (default: true)", {
}
});
componentTest("allowUncategorized (false)", {
template: template(["allowUncategorized=false"]),
componentTest("allow_uncategorized_topics (false)", {
template: template(),
beforeEach() {
this.siteSettings.allow_uncategorized_topics = false;
initCategories(this);
},