Skip to content

Node.js based forum software built for the modern web

fix: breaking test from 0db0231cff097a6e983683e61284a72d42bd594d

Julian Lamcc1c722092d9
diff --git a/public/openapi/read/unread.yaml b/public/openapi/read/unread.yaml
index 68555426e1..49360647da 100644
--- a/public/openapi/read/unread.yaml
+++ b/public/openapi/read/unread.yaml
@@ -49,6 +49,8 @@ get:
type: number
viewcount:
type: number
+ postercount:
+ type: number
teaserPid:
type: number
nullable: true
diff --git a/test/api.js b/test/api.js
index 640160fcb9..2b105d96d0 100644
--- a/test/api.js
+++ b/test/api.js
@@ -119,7 +119,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(5000);
// Attach a search hook so /api/search is enabled
plugins.registerHook('core', {