Bugzilla – Attachment 186369 Details for
Bug 40665
Add booking_id field to issues to link checkouts to bookings that were fulfilled by them
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40665: Fix Cypress tests
Bug-40665-Fix-Cypress-tests.patch (text/plain), 1017 bytes, created by
Jonathan Druart
on 2025-09-11 09:35:08 UTC
(
hide
)
Description:
Bug 40665: Fix Cypress tests
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-09-11 09:35:08 UTC
Size:
1017 bytes
patch
obsolete
>From ee3e63b7d7366f55a5b739b0d25c931aae539055 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 11 Sep 2025 11:34:42 +0200 >Subject: [PATCH] Bug 40665: Fix Cypress tests > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40665
:
185516
|
185517
|
185518
|
185519
|
185520
|
185895
|
185896
|
185897
|
185898
|
185899
|
186250
| 186369 |
187589