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.yamlindex 1e2329197f..7c025a8619 100644--- a/public/openapi/read.yaml+++ b/public/openapi/read.yaml@@ -4954,6 +4954,8 @@ paths:type: numberperPage:type: number+ sort:+ type: stringtitle:type: string- $ref: components/schemas/Pagination.yaml#/Paginationdiff --git a/test/api.js b/test/api.jsindex 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 enabledplugins.registerHook('core', {