]> git.koha-community.org Git - koha.git/commit
Bug 26579: Remove unused C4::Acquisition::DelOrder function
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 30 Sep 2020 14:47:03 +0000 (11:47 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 15 Oct 2020 13:02:49 +0000 (15:02 +0200)
commit23fd3de316bbd94c691dd3941d31aff84177c389
tree33a1a06fc374909ca50227e49e123ba54d47ec53
parent870ef9e2d9046914e198d7c03fa64b4b89de3b41
Bug 26579: Remove unused C4::Acquisition::DelOrder function

This patch removes an unused function, its tests, and adjusts other test
files that relied on it by replacing it with $order->cancel calls.

To test:
1. Run:
   $ kshell
  k$ prove t/db_dependent/Acquisition.t \
           t/db_dependent/Acquisition/GetBasketsInfosByBookseller.t \
           t/db_dependent/Acquisition/close_reopen_basket.t
=> SUCCESS: Tests pass!
2. Apply this patch
3. Repeat (1)
=> SUCCESS: Tests pass!
4. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Acquisition.pm
t/db_dependent/Acquisition.t
t/db_dependent/Acquisition/GetBasketsInfosByBookseller.t
t/db_dependent/Acquisition/close_reopen_basket.t