From f93b3a660ef130e783e392c38bd90b1c80b31323 Mon Sep 17 00:00:00 2001 From: Mariya Yordanova Date: Tue, 30 Jan 2024 14:21:41 +0100 Subject: [PATCH] expect the correct value --- test/api/api.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/api/api.test.js b/test/api/api.test.js index 90f418b..2cea569 100644 --- a/test/api/api.test.js +++ b/test/api/api.test.js @@ -57,7 +57,7 @@ describe('AuditLogService API', () => { const { data: { value: sequence } } = await GET('/api/getSequence()', { auth: ALICE }) - expect(sequence).toEqual(['request succeeded', 'audit log logged']) + expect(sequence).toEqual(['audit log logged', 'request succeeded']) expect(_logs.length).toBe(1) expect(_logs).toContainMatchObject({ user: 'alice', bar: 'baz' }) })