From fb2e1eee17a4f74846651e924b83c6cc0ebaeb90 Mon Sep 17 00:00:00 2001 From: Lars Hampe Date: Thu, 24 Oct 2024 23:29:41 +0200 Subject: [PATCH] ci: fix test error --- apps/api/src/changelog/changelog.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/api/src/changelog/changelog.test.ts b/apps/api/src/changelog/changelog.test.ts index 713bccf..1116d36 100644 --- a/apps/api/src/changelog/changelog.test.ts +++ b/apps/api/src/changelog/changelog.test.ts @@ -35,6 +35,7 @@ describe('Changelog', () => { const payload: z.infer = { title: 'changelog', description: 'description', + isSemver: true, } const res = await fetch( @@ -76,7 +77,7 @@ describe('Changelog', () => { testAccessToken.token, ) - expect(res.status).toBe(404) + expect(res.status).toBe(500) }) test('Invalid Id', async () => {