diff options
author | Chocobozzz <me@florianbigard.com> | 2020-05-05 16:48:30 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-05-05 16:48:30 +0200 |
commit | 298b3fd31529c047e87d34d397af3b08833bd8d0 (patch) | |
tree | 505d5478da1acbdb1e99d4eca53fe16206bd2b8f /server/tests/api | |
parent | 4c576aca1cb8652d88f6673f1d870b53654058d5 (diff) | |
download | PeerTube-298b3fd31529c047e87d34d397af3b08833bd8d0.tar.gz PeerTube-298b3fd31529c047e87d34d397af3b08833bd8d0.tar.zst PeerTube-298b3fd31529c047e87d34d397af3b08833bd8d0.zip |
Increase video comments limit
Diffstat (limited to 'server/tests/api')
-rw-r--r-- | server/tests/api/check-params/video-comments.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/check-params/video-comments.ts b/server/tests/api/check-params/video-comments.ts index e67cc01fa..38f069503 100644 --- a/server/tests/api/check-params/video-comments.ts +++ b/server/tests/api/check-params/video-comments.ts | |||
@@ -133,7 +133,7 @@ describe('Test video comments API validator', function () { | |||
133 | 133 | ||
134 | it('Should fail with a long comment', async function () { | 134 | it('Should fail with a long comment', async function () { |
135 | const fields = { | 135 | const fields = { |
136 | text: 'h'.repeat(3001) | 136 | text: 'h'.repeat(10001) |
137 | } | 137 | } |
138 | await makePostBodyRequest({ url: server.url, path: pathThread, token: server.accessToken, fields }) | 138 | await makePostBodyRequest({ url: server.url, path: pathThread, token: server.accessToken, fields }) |
139 | }) | 139 | }) |
@@ -176,7 +176,7 @@ describe('Test video comments API validator', function () { | |||
176 | 176 | ||
177 | it('Should fail with a long comment', async function () { | 177 | it('Should fail with a long comment', async function () { |
178 | const fields = { | 178 | const fields = { |
179 | text: 'h'.repeat(3001) | 179 | text: 'h'.repeat(10001) |
180 | } | 180 | } |
181 | await makePostBodyRequest({ url: server.url, path: pathComment, token: server.accessToken, fields }) | 181 | await makePostBodyRequest({ url: server.url, path: pathComment, token: server.accessToken, fields }) |
182 | }) | 182 | }) |