Koha/t/db_dependent/Koha
Tomas Cohen Arazi 949ba13a6e
Bug 33974: Add Koha::Biblios->api_query_fixer
This patch adds the `api_query_fixer` method to the class, and adds
tests to validate its behavior.

To test:
1. Apply this patch
2. Run:
   $ ktd --shell
  k$ prove t/db_dependent/Koha/Biblios.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 60e8998e91)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2023-07-17 16:21:29 +01:00
..
Account Bug 31735: Avoid re-fetcing objects from database by passing them directly instead of ids to various subroutines 2023-05-12 12:40:21 -03:00
Acquisition Bug 33885: Make Koha::Acq::Order->creator return undef if no creator 2023-06-26 14:41:10 +02:00
Auth Bug 31378: (QA follow-up) Tidy tests 2022-11-08 14:40:17 -03:00
BackgroundJob Bug 32781: Prevent import from list to fail if package does not exist 2023-03-13 15:56:41 -03:00
BackgroundJobs Bug 32366: (bug 30460 follow-up) Add tests 2022-12-01 10:02:21 -03:00
Biblio Bug 3150: (follow-up) Make sure host information displays for unlinked records 2023-03-27 12:49:44 +02:00
BiblioUtils
Cash
Charges Bug 32351: Fix t/db_dependent/Koha/Charges/Sales.t 2022-11-30 15:58:20 -03:00
Checkouts Bug 33362: Allow return claims to be resolved even if the issue has since been delete from the database 2023-05-24 11:21:31 -03:00
CirculationRules
Club
Config Bug 32478: (QA follow-up) Shebang and chmod for Koha/Config/SysPrefs.t 2023-06-09 16:05:06 -03:00
Database Bug 33584: Fix failures for Commenter.t on MySQL8 2023-04-24 12:08:00 -03:00
Edifact
ERM Bug 32267: (bug 32154 follow-up) Fix Agreements.t 2022-11-18 12:04:25 -03:00
Filter Bug 33214: (follow-up) Make tests less fragile 2023-03-13 16:53:25 -03:00
Import Bug 32437: Add replace method to Koha::Import::Record objects 2023-03-31 13:13:26 +02:00
Item Bug 24606: (QA follow-up) Fix Template.t 2022-11-22 13:33:39 -03:00
Items Bug 32019: Unit tests 2023-02-20 09:54:19 -03:00
Library
Object/Mixin Bug 11844: (follow-up) Fix tests 2023-05-16 12:58:38 +02:00
Objects Bug 33083: Add a generic class to handle methods for collections of records 2023-03-13 15:11:59 -03:00
Old Bug 26648: Add tests 2022-10-12 09:56:48 -03:00
Patron Bug 12029: Remove 'params' from filter_by_unread 2023-04-20 15:48:47 -03:00
Patrons Bug 27920: Add ability to update patron expiration dates when importing patrons 2022-11-09 14:37:07 -03:00
Plugins Bug 29274: Remove z_reset.t 2022-12-01 09:33:04 -03:00
REST Bug 32713: (QA follow-up) Tests now require more complex structures 2023-03-17 18:27:09 -03:00
SearchEngine Bug 33206: Unit test 2023-05-09 11:46:53 -03:00
SMTP Bug 27424: (QA follow-up) Make Koha::SMTP::Server->store deal with defaults 2023-01-31 10:52:49 -03:00
Subscription
Tags
Template/Plugin Bug 11844: Take into account itemtypes, branches, and cn_source 2023-05-16 12:58:38 +02:00
Ticket Bug 31028: Add new Koha::Object(s) classes 2023-03-06 11:23:17 -03:00
UI/Form/Builder Bug 32484: (QA follow-up) Polishing unit test 2023-04-21 10:36:29 -03:00
XSLT
Z3950Responder Bug 29234: Further clean Z3950 Tests 2023-04-03 10:49:58 -03:00
Account.t Bug 33176: Enforce bad values 2023-07-17 08:15:11 +01:00
ActionLogs.t
AdditionalContents.t
AdditionalField.t Bug 11844: Add tests 2023-05-16 12:58:38 +02:00
ApiKey.t
ArticleRequest.t
ArticleRequests.t
Authorities.t Bug 32735: (follow-up) Make Koha::Objects::Record::Collections->print_collection work with Authorities and Biblios 2023-05-05 12:13:50 -03:00
BackgroundJob.t Bug 32394: Add tests 2022-12-14 14:32:27 -03:00
BackgroundJobs.t Bug 31969: Use filter_by_last_update 2022-11-25 09:40:09 -03:00
Biblio.t Bug 21983: Add Koha::Biblio->ill_requests 2023-06-09 12:04:51 -03:00
BiblioFrameworks.t
Biblios.t Bug 33974: Add Koha::Biblios->api_query_fixer 2023-07-17 16:21:29 +01:00
Checkout.t
Checkouts.t
CirculationRules.t Bug 23012: (QA follow-up) No need to create and delete rules for branch 2022-10-24 17:43:30 -03:00
Cities.t
ClassSortRules.t
ClassSources.t
ClassSplitRules.t
CoverImages.t
CsvProfiles.t
CurbsidePickups.t Bug 32891: (QA follow-up) Fix perlcritic error 2023-02-21 10:22:33 -03:00
Database.t
Desks.t
Encryption.t
Hold.t Bug 33791: (QA follow-up) Stick to 'item_id' for the parameter name 2023-05-22 14:46:30 -03:00
Holds.t Bug 32650: Prevent Koha/Holds.t to fail randomly 2023-01-18 16:49:35 +00:00
Illrequests.t Bug 22440: Add Koha::Illrequests->filter_by_visible 2023-05-05 09:13:40 -03:00
Item.t Bug 33493: (QA follow-up) Only bless the first transfer 2023-07-12 07:42:51 +01:00
Items.t Bug 33493: (QA follow-up) Only bless the first transfer 2023-07-12 07:42:51 +01:00
ItemTypes.t
KeyboardShortcuts.t
Libraries.t
Library.t
MarcSubfieldStructures.t
Notice_Util.t Bug 33360: Extend Koha::Notice::Util with domain groups 2023-04-14 11:35:30 -03:00
Notices.t
Object.t Bug 31735: Avoid re-fetcing objects from database by passing them directly instead of ids to various subroutines 2023-05-12 12:40:21 -03:00
Objects.t
Old.t
Patron.t Bug 29046: Unit tests 2023-05-18 12:13:42 -03:00
Patron_generate_userid.t Bug 32426: Patron::generate_userid - add plugin hook 2023-03-27 12:49:50 +02:00
Patrons.t Bug 29046: (QA follow-up) Make sure tests get the right EmailFieldPrimary value mocked 2023-05-18 12:13:45 -03:00
Pseudonymization.t
Quotes.t
Ratings.t
Recall.t
Recalls.t
Reports.t
Reviews.t
SearchField.t
SharedContent.t
SMS_Providers.t
Statistics.t Bug 30928: Add tests 2023-05-10 14:19:21 -03:00
Subscription.t
Suggestion.t
Suggestions.t
Tags.t
Ticket.t Bug 31028: (follow-up) Fix executable bit 2023-03-07 14:54:29 -03:00
Virtualshelf.t
Virtualshelves.t
Z3950Servers.t