mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix(openapi): tests
This commit is contained in:
@@ -4954,6 +4954,8 @@ paths:
|
|||||||
type: number
|
type: number
|
||||||
perPage:
|
perPage:
|
||||||
type: number
|
type: number
|
||||||
|
sort:
|
||||||
|
type: string
|
||||||
title:
|
title:
|
||||||
type: string
|
type: string
|
||||||
- $ref: components/schemas/Pagination.yaml#/Pagination
|
- $ref: components/schemas/Pagination.yaml#/Pagination
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ describe('Read API', async () => {
|
|||||||
await socketUser.exportPosts({ uid: adminUid }, { uid: adminUid });
|
await socketUser.exportPosts({ uid: adminUid }, { uid: adminUid });
|
||||||
await socketUser.exportUploads({ uid: adminUid }, { uid: adminUid });
|
await socketUser.exportUploads({ uid: adminUid }, { uid: adminUid });
|
||||||
// wait for export child process to complete
|
// wait for export child process to complete
|
||||||
// await wait(20000);
|
await wait(20000);
|
||||||
|
|
||||||
// Attach a search hook so /api/search is enabled
|
// Attach a search hook so /api/search is enabled
|
||||||
plugins.registerHook('core', {
|
plugins.registerHook('core', {
|
||||||
|
|||||||
Reference in New Issue
Block a user