mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-05 07:10:30 +01:00
tests: fix some but not all tests
This commit is contained in:
@@ -326,7 +326,5 @@ paths:
|
||||
$ref: 'read/groups/slug/members.yaml'
|
||||
"/api/world":
|
||||
$ref: 'read/world.yaml'
|
||||
"/api/world/{filter}":
|
||||
$ref: 'read/world.yaml'
|
||||
/api/outgoing:
|
||||
$ref: 'read/outgoing.yaml'
|
||||
@@ -56,16 +56,16 @@ get:
|
||||
# type: array
|
||||
# items:
|
||||
# type: number
|
||||
# selectedTag:
|
||||
# type: object
|
||||
# properties:
|
||||
# label:
|
||||
# type: string
|
||||
# nullable: true
|
||||
# selectedTags:
|
||||
# type: array
|
||||
# items:
|
||||
# type: string
|
||||
selectedTag:
|
||||
type: object
|
||||
properties:
|
||||
label:
|
||||
type: string
|
||||
nullable: true
|
||||
selectedTags:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
isWatched:
|
||||
type: boolean
|
||||
isTracked:
|
||||
|
||||
@@ -49,7 +49,7 @@ module.exports = function (Categories) {
|
||||
return category;
|
||||
}, {});
|
||||
}
|
||||
categories.splice(cids.indexOf(-1), 1, subset || worldCategory);
|
||||
categories.splice(cids.indexOf(-1), 1, subset || { ...worldCategory });
|
||||
}
|
||||
|
||||
const result = await plugins.hooks.fire('filter:category.getFields', {
|
||||
|
||||
Reference in New Issue
Block a user