From 9a448ba5dfa0884651d434ff5a728f572772da97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Smoli=C5=84ski?= Date: Thu, 26 Nov 2026 14:00:35 +0100 Subject: [PATCH] Consent log upgrade test: key order (lint) Co-Authored-By: Claude Opus 5.5 --- test/consentLogUpgrade.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/consentLogUpgrade.test.ts b/test/consentLogUpgrade.test.ts index 465ea46..b72ec2e 100644 --- a/test/consentLogUpgrade.test.ts +++ b/test/consentLogUpgrade.test.ts @@ -74,7 +74,7 @@ const post = (payload: Payload, ip: string) => (buildConsentLogEndpoint().handler as (r: PayloadRequest) => Promise)( Object.assign( new Request('http://acme.pl/api/ipal/consent', { - body: JSON.stringify({ gpc: false, id: 'a1b2c3d4e5f6a7b8c9d0e1f2', state: { analytics: true, functional: false, marketing: false, necessary: true }, version: 1 }), + body: JSON.stringify({ id: 'a1b2c3d4e5f6a7b8c9d0e1f2', gpc: false, state: { analytics: true, functional: false, marketing: false, necessary: true }, version: 1 }), headers: { 'content-type': 'application/json', 'x-real-ip': ip }, method: 'POST', }),