fix(openapi): tests

This commit is contained in:
Julian Lam
2020-08-18 21:42:36 -04:00
parent 334be11382
commit d935f03636
2 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

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