Koha/t/db_dependent/Acquisition
Jonathan Druart 91f9f8cdfd
Bug 20728: Replace the calls by their Koha::Acq::Orders->search equivalent
There are 2 subroutines from C4::Acquisition that could be removed:
- GetLastOrderReceivedFromSubscriptionid
- GetLastOrderNotReceivedFromSubscriptionid

After bug 20726 only GetLastOrderReceivedFromSubscriptionid will be used
(from acqui/neworderempty.pl) and this call could be replaced easily with Koha::Acquisition::Orders

The code (+ tests) related to these 2 subroutines could then be removed.

The parameters for the search is basic and does no really deserve its own subroutine.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-04-14 16:39:06 +01:00
..
CancelReceipt.t Bug 22001: Remove the RaiseError occurrences from tests 2020-03-27 08:52:56 +00:00
close_reopen_basket.t Bug 22001: Remove the RaiseError occurrences from tests 2020-03-27 08:52:56 +00:00
FillWithDefaultValues.t Bug 24276: Add unit tests for mandatory parameter of FillWithDefaultValues 2020-03-24 11:23:11 +00:00
GetBasketAsCSV.t Bug 18720: Use exception instead of die in GetBasketAsCsv 2018-10-31 13:47:17 +00:00
GetBasketsInfosByBookseller.t Bug 22001: Remove the RaiseError occurrences from tests 2020-03-27 08:52:56 +00:00
GetOrdersByBiblionumber.t Bug 22001: Remove the RaiseError occurrences from tests 2020-03-27 08:52:56 +00:00
Invoices.t Bug 22001: Remove the RaiseError occurrences from tests 2020-03-27 08:52:56 +00:00
NewOrder.t Bug 22001: Remove the RaiseError occurrences from tests 2020-03-27 08:52:56 +00:00
OrderFromSubscription.t Bug 20728: Replace the calls by their Koha::Acq::Orders->search equivalent 2020-04-14 16:39:06 +01:00
OrderUsers.t Bug 20287: Replace occurrences of AddMember with Koha::Patron->new->store->borrowernumber 2018-07-18 15:49:47 +00:00
populate_order_with_prices.t Bug 22001: Remove the RaiseError occurrences from tests 2020-03-27 08:52:56 +00:00
StandingOrders.t Bug 17667: Add tests 2020-01-20 14:03:50 +00:00
TransferOrder.t Bug 22001: Remove the RaiseError occurrences from tests 2020-03-27 08:52:56 +00:00