Bug 38501

Summary: Prevent failures of Koha/Booking.t when running tests on an updated database
Product: Koha Reporter: Paul Derscheid <paul.derscheid>
Component: Test SuiteAssignee: Paul Derscheid <paul.derscheid>
Status: RESOLVED FIXED QA Contact: Katrin Fischer <katrin.fischer>
Severity: normal    
Priority: P5 - low CC: lucas
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
24.11.00
Circulation function:
Bug Depends on: 37204, 37803, 26915, 29002    
Bug Blocks: 38490    
Attachments: Bug 38501: Prevent failures of Koha/Booking.t when run on MySQL8
Bug 38501: Prevent failures of Koha/Booking.t when running the Koha_Main_My8 job

Description Paul Derscheid 2024-11-21 09:46:05 UTC
If I understand correctly:
The MySQL8 test run runs the installer, and then upgrades, then runs the test suite.

Since we are not inserting the notices at upgrade time, Koha/Booking.t fails.

This patch provides a bandaid solution until Bug 38490 has been resolved.
Comment 1 Paul Derscheid 2024-11-21 10:02:41 UTC
Created attachment 174869 [details] [review]
Bug 38501: Prevent failures of Koha/Booking.t when run on MySQL8
Comment 2 Paul Derscheid 2024-11-21 11:03:40 UTC
Created attachment 174870 [details] [review]
Bug 38501: Prevent failures of Koha/Booking.t when running the Koha_Main_My8 job
Comment 3 Katrin Fischer 2024-11-21 12:50:23 UTC
Pushed for 24.11!

Well done everyone, thank you!
Comment 4 Lucas Gass (lukeg) 2024-12-05 23:26:17 UTC
Missing dependencies for 24.05.x, no backport.