Koha/t/db_dependent/Koha
Martin Renvoize 17460a41a1
Bug 35248: Add unit tests for Koha::Bibilio->check_booking
This patch adds basic unit tests for Koha::Biblio->check_booking

Test plan
1) Run t/db_dependent/Koha/Biblio.t

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-03-15 09:38:48 +01:00
..
Account Bug 32496: Reduce unnecessary unblessings of objects in Circulation.pm 2023-09-22 10:52:39 -03:00
Acquisition Bug 32496: Fix tests 2023-09-22 12:35:47 -03:00
Auth Bug 29523: Fix tests 2023-10-28 09:47:38 -03:00
BackgroundJob Bug 35277: (follow-up) Remove debugging module 2024-01-16 12:06:06 +01:00
BackgroundJobs Bug 34587: (QA follow-up) Tidy 2023-10-31 16:46:32 -03:00
Biblio Bug 34828: Make normalized_oclc use Koha::Biblio::Metadata::Extractor 2023-10-09 16:41:32 -03:00
Cash
Charges
Checkouts
CirculationRules
Club
Config
Database
Edifact Bug 30070: Add unit tests 2024-01-17 11:38:54 +01:00
ERM Bug 35418: Add TR_B2 tests 2023-11-29 17:36:11 -03:00
Filter
Import
Item
Items
Library
Notice Bug 30287: (follow-up) Make unit test more reliable in ktd 2023-12-19 13:42:12 +01:00
Object/Mixin
Objects
Old Bug 33837: Replace days_inclusive by min_days 2023-10-11 10:31:44 -03:00
Patron Bug 31503: (QA follow-up) Improve count of available_types 2023-10-25 10:35:24 -03:00
Patrons Bug 34954: Fixed typo to 'dateexpiry' 2023-10-20 17:22:02 -03:00
Plugins Bug 35070: Add test verifying plugins cannot override core templates 2024-01-04 16:51:45 +01:00
Policy Bug 30825: Move holds_control_library to Koha::Policy::Holds 2023-09-22 12:35:46 -03:00
Preservation Bug 33547: (QA follow-up) Tidy 2023-10-23 11:33:53 -03:00
REST Bug 29523: Fix tests 2023-10-28 09:47:38 -03:00
SearchEngine Bug 35086: Tidy tests 2024-01-16 12:06:01 +01:00
SMTP Bug 33964: Use Email::Sender::Transport::SMTP::Persistent for sending email 2023-07-24 14:55:33 -03:00
Subscription
Tags
Template/Plugin Bug 35955: Add tests 2024-03-01 10:55:53 +01:00
Ticket
UI/Form/Builder Bug 34266: Add unit tests 2023-09-01 12:08:35 -03:00
XSLT
Z3950Responder
Account.t Bug 34912: Add 14 hours to 1970 date in Account(s).t 2023-10-04 09:15:39 -04:00
ActionLogs.t
AdditionalContents.t Bug 31383: (QA follow-up) Tidy 2023-10-20 14:44:03 -03:00
AdditionalField.t Bug 35190: Adjust tests 2023-11-03 14:22:46 -03:00
ApiKey.t
ArticleRequest.t Bug 35030: Add 'article' to patron activity triggers 2023-10-24 10:05:26 -03:00
ArticleRequests.t Bug 34916: Fix wrong borrowernumber in ArticleRequests.t 2023-10-04 09:15:39 -04:00
Authorities.t
BackgroundJob.t Bug 35962: (bug 35843 follow-up 2) Fix BackgroundJob.t on D10 2024-02-06 08:52:36 +01:00
BackgroundJobs.t
Biblio.t Bug 35248: Add unit tests for Koha::Bibilio->check_booking 2024-03-15 09:38:48 +01:00
BiblioFrameworks.t
Biblios.t Bug 33974: Add Koha::Biblios->api_query_fixer 2023-07-03 14:51:42 -03:00
Booking.t Bug 35248: Add unit tests for Koha::Booking relations 2024-03-15 09:38:47 +01:00
Bookings.t Bug 35788: Test for current day booking 2024-03-15 09:38:42 +01:00
Checkout.t
Checkouts.t Bug 34924: Handle final renewal errors 2023-10-31 11:02:47 -03:00
CirculationRules.t Bug 32271: Unit test 2023-07-19 13:00:37 -03:00
Cities.t
ClassSortRules.t
ClassSources.t
ClassSplitRules.t
CoverImages.t
CsvProfiles.t
CurbsidePickups.t
Database.t
Desks.t
EDI.t Bug 35398: (QA follow-up) Tidy code 2024-03-07 15:02:47 +01:00
Encryption.t
Hold.t Bug 31692: Tidy and rebase fix 2023-10-10 09:58:59 -03:00
Holds.t Bug 32496: Fix tests 2023-09-22 12:35:47 -03:00
Illbackend.t Bug 34223: (QA follow-up) Fix file permissions 2023-09-06 16:47:09 -03:00
Illbatch.t Bug 30719: Rename batch for ill_batch in Koha::Illrequest 2023-10-17 14:45:25 -03:00
Illrequest.t Bug 35105: Regression tests 2023-10-19 16:00:49 -03:00
Illrequests.t
Item.t Bug 35248: Add unit tests for Koha::Item->check_booking 2024-03-15 09:38:45 +01:00
Items.t Bug 35787: Add unit test for filter_by_bookable 2024-03-15 09:38:41 +01:00
ItemTypes.t Bug 34357: Replace SUPER->imageurl in ItemTypes 2023-08-15 12:16:48 +03:00
KeyboardShortcuts.t
Libraries.t Bug 9525: (QA follow-up) Tidy 2023-10-04 16:40:12 -04:00
Library.t Bug 31383: Adjust and add tests 2023-10-20 14:43:57 -03:00
MarcSubfieldStructures.t
Notice_Util.t
Notices.t
Object.t Bug 29523: (follow-up) Comprehensive tests for redaction 2023-10-27 16:40:47 -03:00
Objects.t Bug 35393: Fix Objects.t - filter_by_last_update 2023-11-24 08:37:46 -03:00
Old.t
Patron.t Bug 12133: (QA follow-up) Tidy for qa script 2023-11-10 10:59:42 -03:00
Patron_generate_userid.t
Patrons.t Bug 21431: Add unit test 2023-11-09 14:50:11 -03:00
Pseudonymization.t Bug 35277: (follow-up) Fix tests 2024-01-16 16:35:08 +01:00
Quotes.t
Ratings.t Bug 33953: Adjust tests 2023-07-13 15:19:36 -03:00
Recall.t Bug 32496: Reduce unnecessary unblessings of objects in Circulation.pm 2023-09-22 10:52:39 -03:00
Recalls.t Bug 32496: Reduce unnecessary unblessings of objects in Circulation.pm 2023-09-22 10:52:39 -03:00
Reports.t Bug 27824: Add a test 2023-07-13 15:19:32 -03:00
Reviews.t
SearchField.t
Session.t Bug 36098: (follow-up) extend test to check driver 2024-03-01 10:55:33 +01:00
SharedContent.t
SMS_Providers.t
Statistics.t Bug 33608: (QA follow-up) Remove ->insert method 2023-10-25 11:07:59 -03:00
Subscription.t
Suggestion.t
Suggestions.t Bug 32942: (QA follow-up) Add tests for STATUS checking in Suggestion::store 2023-09-18 15:31:45 -03:00
Tags.t
Ticket.t
Virtualshelf.t
Virtualshelves.t
Z3950Servers.t