mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 20:58:23 +08:00
FIX: Assign default value for category.findByIds method
This commit is contained in:
@ -196,6 +196,8 @@ QUnit.test("findByIds", assert => {
|
||||
Discourse.Category.findByIds([1, 2, 3]),
|
||||
_.values(categories)
|
||||
);
|
||||
|
||||
assert.deepEqual(Discourse.Category.findByIds(), []);
|
||||
});
|
||||
|
||||
QUnit.test("search with category name", assert => {
|
||||
|
Reference in New Issue
Block a user