Skip to content

Commit

Permalink
fix(openapi): tests
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlam committed Aug 19, 2020
1 parent 334be11 commit d935f03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions public/openapi/read.yaml
Expand Up @@ -4954,6 +4954,8 @@ paths:
type: number
perPage:
type: number
sort:
type: string
title:
type: string
- $ref: components/schemas/Pagination.yaml#/Pagination
Expand Down
2 changes: 1 addition & 1 deletion test/api.js
Expand Up @@ -66,7 +66,7 @@ describe('Read API', async () => {
await socketUser.exportPosts({ uid: adminUid }, { uid: adminUid });
await socketUser.exportUploads({ uid: adminUid }, { uid: adminUid });
// wait for export child process to complete
// await wait(20000);
await wait(20000);

// Attach a search hook so /api/search is enabled
plugins.registerHook('core', {
Expand Down

0 comments on commit d935f03

Please sign in to comment.