From ee3e63b7d7366f55a5b739b0d25c931aae539055 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 11 Sep 2025 11:34:42 +0200 Subject: [PATCH] Bug 40665: Fix Cypress tests Signed-off-by: Jonathan Druart --- t/cypress/plugins/insertData.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/cypress/plugins/insertData.js b/t/cypress/plugins/insertData.js index 970d17e8ca2..be78b4d5f0b 100644 --- a/t/cypress/plugins/insertData.js +++ b/t/cypress/plugins/insertData.js @@ -747,7 +747,7 @@ const insertObject = async ({ type, object, baseUrl, authHeader }) => { authHeader, }); } else if (type == "checkout") { - const { issuer, patron, ...checkout } = object; + const { issuer, patron, booking, ...checkout } = object; let endpoint = "/api/v1/checkouts"; // Force the checkout - we might need a parameter to control this behaviour later -- 2.34.1