https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41900 --- Comment #11 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 212631 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212631&action=edit Bug 41900: Unit tests Adds tests that items created through acquisitions get the basket vendor as source of acquisition (items.booksellerid), for: - PrepareItemrecordDisplay with a 'booksellerid' default value, used to prefill the acquisitions item forms - Koha::MarcOrder with MarcItemFieldsToOrder - Koha::Acquisition::Order->duplicate_to - EDI quotes (existing behaviour) Also adds xt/find-acquisition-item-links.t, which lists every place that links an item to an order line. It fails when one is added or removed, so a new path has to set the vendor and get a test too. Test plan: prove t/db_dependent/Items.t t/db_dependent/Koha/MarcOrder.t \ t/db_dependent/Koha/Acquisition/Order.t t/db_dependent/Koha/EDI.t \ xt/find-acquisition-item-links.t Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.