From 3934509d4c654f2d754bd655717784d3659392b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Fri, 20 May 2022 11:48:08 +0200 Subject: [PATCH] fix: failing test --- src/test/e2e/api/admin/project/features.e2e.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/e2e/api/admin/project/features.e2e.test.ts b/src/test/e2e/api/admin/project/features.e2e.test.ts index 11825a28df..8c128db77d 100644 --- a/src/test/e2e/api/admin/project/features.e2e.test.ts +++ b/src/test/e2e/api/admin/project/features.e2e.test.ts @@ -773,7 +773,7 @@ test('should coerce all strategy parameter values to strings', async () => { }); }); -test('should limit the length of parameter values', async () => { +test('should NOT limit the length of parameter values', async () => { const envName = 'default'; const featureName = randomId(); const projectPath = '/api/admin/projects/default'; @@ -787,7 +787,7 @@ test('should limit the length of parameter values', async () => { await app.request .post(`${featurePath}/environments/${envName}/strategies`) .send({ name: 'default', parameters: { foo: 'x'.repeat(101) } }) - .expect(400); + .expect(200); }); test('Can NOT delete strategy with wrong projectId', async () => {