fix(openapi): tests

v1.18.x
Julian Lam
parent 334be11382
commit d935f03636

@ -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', {

Loading…
Cancel
Save