With recordpayment now simply being a wrapper round Koha::Account::pay, we can remove the calls to recordpayment and replace them with direct calls to Koha::Account::pay.
Created attachment 48343 [details] [review] Bug 15899 - Fix up unit tests
Created attachment 48344 [details] [review] Bug 15899 - Remove C4::Accounts::recordpayment Test Plan: 1) Apply this patch 2) prove t/db_dependent/Accounts.t 3) git grep recordpayment should show no calls to the recordpayment sub
Created attachment 48345 [details] [review] Bug 15899 - Remove C4::Accounts::recordpayment Test Plan: 1) Apply this patch 2) prove t/db_dependent/Accounts.t 3) git grep recordpayment should show no calls to the recordpayment sub
Created attachment 52137 [details] [review] Bug 15899 - Fix up unit tests
Created attachment 52146 [details] [review] Bug 15899 - Fix up unit tests
Created attachment 52147 [details] [review] Bug 15899 - Remove C4::Accounts::recordpayment Test Plan: 1) Apply this patch 2) prove t/db_dependent/Accounts.t 3) git grep recordpayment should show no calls to the recordpayment sub
Created attachment 54749 [details] [review] Bug 15899 - Fix up unit tests Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Created attachment 54750 [details] [review] Bug 15899 - Remove C4::Accounts::recordpayment Test Plan: 1) Apply this patch 2) prove t/db_dependent/Accounts.t 3) git grep recordpayment should show no calls to the recordpayment sub Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Created attachment 55878 [details] [review] Bug 15899 - Fix up unit tests Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Created attachment 55879 [details] [review] Bug 15899 - Remove C4::Accounts::recordpayment Test Plan: 1) Apply this patch 2) prove t/db_dependent/Accounts.t 3) git grep recordpayment should show no calls to the recordpayment sub Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Pushed to master for 16.11!