Skip to content

Node.js based forum software built for the modern web

fix(openapi): tests

Julian Lamd935f03636fc
diff --git a/public/openapi/read.yaml b/public/openapi/read.yaml
index 1e2329197f..7c025a8619 100644
--- a/public/openapi/read.yaml
+++ b/public/openapi/read.yaml
@@ -4954,6 +4954,8 @@ paths:
type: number
perPage:
type: number
+ sort:
+ type: string
title:
type: string
- $ref: components/schemas/Pagination.yaml#/Pagination
diff --git a/test/api.js b/test/api.js
index ba06b4e929..15e3fded31 100644
--- a/test/api.js
+++ b/test/api.js
@@ -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', {