X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fcheck-params%2Flogs.ts;h=f9a99796d7b9302872c5029e2f5a2d4b2f19f9cf;hb=e2b2c726b1c1c31794d324c3afd7c24e1f953131;hp=fa67408b7e6946711a22bc664f7a3dccafe1728d;hpb=cfb5edbd9e666b93d9680a34df59096d23d51bd5;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/check-params/logs.ts b/server/tests/api/check-params/logs.ts index fa67408b7..f9a99796d 100644 --- a/server/tests/api/check-params/logs.ts +++ b/server/tests/api/check-params/logs.ts @@ -122,7 +122,7 @@ describe('Test logs API validators', function () { }) it('Should fail with an invalid stackTrace', async function () { - await server.logs.createLogClient({ payload: { ...base, stackTrace: 's'.repeat(10000) }, expectedStatus }) + await server.logs.createLogClient({ payload: { ...base, stackTrace: 's'.repeat(20000) }, expectedStatus }) }) it('Should fail with an invalid userAgent', async function () {