FIX: uses only global allow_uncategorized_topics for category drop (#9130)
This commit is contained in:
@@ -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);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user