Koha-clms/t/db_dependent/Koha
Nick Clemens 2edc07b710
Bug 39912: Update RealTimeHoldsQueue when hold pickup location is updated
When a hold's pickup location is changed we should rebuild the holds queue.

To test:
1 - Enable RealTimeHoldsQueue
2 - Enable LocalHoldsPriority where pickup library matches home library
3 - Place two biblio level holds on a bib with one item for two different patrons for delivery to a different library then the home library
4 - Check the queue - firstpatron should have priority
5 - Change the pickup location for the second hold to be picked up at the home library
6 - Check the queue, unchanged
7 - Change the pickup location back
8 - Apply patch, restart all
9 - Change the pickup location to the items home library again
10 - Check the queue
11 - Second patron has now been given priority

Signed-off-by: Michelle Spinney <mspinney@clamsnet.org>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 3664281d37)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
(cherry picked from commit 87043c9f53)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2025-07-25 16:16:22 +02:00
..
Account Bug 33641: (follow-up) Fix unit tests 2024-11-15 14:02:20 +01:00
Acquisition Bug 36018: (follow-up) Do not rely on assumed correct quantities 2024-05-10 16:45:47 +02:00
Auth Bug 40019: Remove warnings from Koha/Auth/Client.t 2025-07-25 13:49:55 +02:00
BackgroundJob Bug 37526: (QA follow-up) Tidy 2024-09-27 18:00:43 +02:00
BackgroundJobs Bug 39823: Add tests 2025-06-19 09:39:14 +02:00
Biblio Bug 28478: Add get_opac_suppression extractor 2025-02-18 19:17:20 +01:00
Cash
…
Charges
…
Checkouts
…
CirculationRules
…
Club
…
Config
…
Database
…
ERM Bug 38782: Apply same fix for CounterFile.t 2025-03-19 23:57:35 +01:00
Edifact Bug 30070: Add unit tests 2024-01-17 11:38:54 +01:00
Filter
…
ILL Bug 32630: Add tests 2025-07-09 14:18:18 +00:00
Import
…
Item
…
Items
…
Library
…
Notice Bug 36815: Unit tests 2024-06-27 14:04:51 +02:00
OAI/Server Bug 39857: Regression tests 2025-05-17 21:05:56 +02:00
Object/Mixin Bug 35287: (QA follow-up): Squash 2024-10-24 13:38:22 +02:00
Objects Bug 37389: (QA follow-up) Tidy 2024-08-02 18:59:55 +02:00
Old Bug 35353: Add REST API endpoint to retrieve old holds 2024-04-26 18:06:09 +02:00
Patron Bug 33462: (QA follow-up) Tidy code 2024-10-31 13:23:42 +01:00
Patrons Bug 34621: Tidy Import.t 2024-04-12 14:02:42 +02:00
Plugins Bug 40021: Remove warnings from Koha/Plugins/Recall_hooks.t 2025-07-25 13:56:28 +02:00
Policy
…
Preservation Bug 33547: (QA follow-up) Tidy 2023-10-23 11:33:53 -03:00
REST Bug 28907: Add Koha::REST::Plugin::Auth::PublicRoutes 2025-02-18 19:17:17 +01:00
SMTP
…
SearchEngine Bug 38913: (QA follow-up) test UTF-8 exceptions in large MARC records 2025-02-04 21:52:49 +01:00
Subscription
…
Tags
…
Template/Plugin Bug 40018: Remove warnings from Koha/Template/Plugin/Koha.t 2025-07-25 13:54:04 +02:00
Ticket Bug 35657: Unit tests for relation accessor additions 2024-05-02 15:03:36 +02:00
UI/Form/Builder Bug 40003: Add a test 2025-07-25 14:00:41 +02:00
XSLT
…
Z3950Responder
…
Account.t
…
ActionLogs.t
…
AdditionalContents.t Bug 40020: Remove warnings from Koha/AdditionalContents.t 2025-07-25 13:49:01 +02:00
AdditionalField.t Bug 35190: Adjust tests 2023-11-03 14:22:46 -03:00
ApiKey.t
…
ArticleRequest.t Bug 36081: Fix some failing tests 2025-02-24 20:43:23 +01:00
ArticleRequests.t
…
Authorities.t Bug 30047: (follow-up) Fix failing tests 2024-05-13 16:24:18 +02:00
BackgroundJob.t Bug 35655: Add unit tests 2024-09-30 15:30:59 +01:00
BackgroundJobs.t Revert "Bug 36217: Fix background jobs page's include_last_hour filter" 2024-10-18 14:26:01 +02:00
Biblio.t Bug 37364: Unit tests 2025-06-19 09:43:07 +02:00
BiblioFrameworks.t
…
Biblios.t
…
Booking.t Bug 38501: Prevent failures of Koha/Booking.t when running the Koha_Main_My8 job 2024-11-21 13:49:09 +01:00
Bookings.t Bug 38175: (QA follow-up) Unit test for filter_by_active change 2024-10-24 18:27:25 +02:00
Checkout.t Bug 38184: (follow-up) Correct the number of tests 2025-06-19 11:14:18 +02:00
Checkouts.t Bug 33641: (follow-up) Fix unit tests 2024-11-15 14:02:20 +01:00
CirculationRules.t
…
Cities.t
…
ClassSortRules.t
…
ClassSources.t
…
ClassSplitRules.t
…
Course.t Bug 28762: Add test for new 'instructors' accessor 2024-07-23 16:04:06 +01:00
Courses.t Bug 36535: (bug 33568 follow-up) Add missing tests 2024-04-26 14:14:48 +02:00
CoverImages.t
…
CsvProfiles.t
…
CurbsidePickups.t
…
Database.t Bug 36026: Use only configured TLS options for database connection 2024-11-11 15:35:36 +01:00
Desks.t
…
EDI.t Bug 38423: Add unit tests 2025-04-17 14:30:35 +02:00
Encryption.t
…
Hold.t Bug 39912: Update RealTimeHoldsQueue when hold pickup location is updated 2025-07-25 16:16:22 +02:00
Holds.t Bug 29087: (QA follow-up): Fix QA tests 2024-07-22 07:36:38 +01:00
Installer.t Bug 37818: (follow-up) Remove failing XXX tests from Installer.t 2024-09-13 16:18:26 +02:00
Item.t Bug 38477: (follow-up) Correct failing Item.t test 2025-06-19 09:30:35 +02:00
ItemTypes.t
…
Items.t Bug 35906: (QA follow-up) Tidy admin/itemtypes.pl, Items.t 2024-10-25 15:34:43 +02:00
KeyboardShortcuts.t
…
Libraries.t Bug 9525: (QA follow-up) Tidy 2023-10-04 16:40:12 -04:00
Library.t Bug 36480: Add Koha::Library->desks 2024-04-26 18:06:09 +02:00
MarcOrder.t Bug 39282: (follow-up) Use generated budget and don't rely on existing data 2025-03-19 23:57:59 +01:00
MarcSubfieldStructures.t
…
Notice_Util.t
…
Notices.t Bug 23295: Automatically restrict (debar) patrons when email/sms notices fail 2024-10-24 10:45:38 +02:00
OAIHarvester.t Bug 35659: (QA follow-up) Fix t/db_dependent/Koha/OAIHarvester.t 2024-10-29 16:14:45 +01:00
OAIServers.t Bug 35659: (more QA follow-ups) 2024-10-28 14:01:29 +01:00
Object.t Bug 38273: Make sure same object is returned 2024-10-29 16:14:34 +01:00
Objects.t Bug 37510: Fix Objects.t and remove FIXME 2024-08-19 14:33:37 +02:00
Old.t
…
Patron.t Bug 36081: Fix some failing tests 2025-02-24 20:43:23 +01:00
Patron_generate_userid.t
…
Patrons.t Bug 37392: (follow-up) Limit a borrower not in a group and fix tests 2024-11-01 09:34:39 -03:00
Pseudonymization.t Bug 35277: (follow-up) Fix tests 2024-01-16 16:35:08 +01:00
PseudonymizedTransaction.t Bug 34611: Unit tests 2024-03-19 10:25:04 +01:00
Quotes.t
…
Ratings.t
…
Recall.t Bug 23781: Tests for Recalls messaging preferences 2024-07-23 16:38:04 +01:00
Recalls.t Bug 32696: Unit tests 2024-08-19 17:29:55 +02:00
RecordSource.t Bug 37513: Add Koha::RecordSource->usage_count 2024-08-27 12:14:24 +02:00
Reports.t Bug 32413: Fix repeated param names for JSON report 2024-10-30 07:47:48 +01:00
Reviews.t Bug 37392: (follow-up) Limit a borrower not in a group and fix tests 2024-11-01 09:34:39 -03:00
SMS_Providers.t
…
SearchField.t Bug 20388: (QA follow-up) Tidy 2024-04-16 17:59:47 +02:00
SearchFilters.t Bug 37333: Group search terms in a saved filter 2024-07-18 17:53:11 +02:00
Session.t Bug 36098: (follow-up) extend test to check driver 2024-03-01 10:55:33 +01:00
SharedContent.t
…
Statistic.t Bug 37182: Regression tests 2024-06-27 11:50:02 +02:00
Statistics.t Bug 33608: (QA follow-up) Remove ->insert method 2023-10-25 11:07:59 -03:00
Subscription.t Bug 38011: (QA follow-up) Additional unit tests 2024-11-11 17:43:07 +01:00
Suggestion.t
…
Suggestions.t Bug 36122: Update unit test 2024-05-02 15:03:33 +02:00
Tags.t
…
Ticket.t Bug 36758: (QA follow-up) Tidy Ticket.t 2024-08-09 18:44:53 +02:00
Virtualshelf.t Bug 30955: (QA follow-up) Reduce database hits and clarify notice 2024-10-24 16:55:58 +02:00
Virtualshelves.t
…
Z3950Servers.t
…