[Koha-bugs] [Bug 15323] ./t/Prices.t fails without a valid database
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Mar 30 17:31:07 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15323
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #49678|0 |1
is obsolete| |
--- Comment #15 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 49688
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=49688&action=edit
Bug 15323: Use fixtures for the active currency
prove t/Prices.t
fails after bug 15084 has been pushed
It's caused by
commit 1538e9ecf47642c4974693ff499c3e95e4d71977
Bug 15084: Replace C4::Budgets::GetCurrencies with
Koha::Acquisition::Currencies->search
Koha::Number::Price->_format_params calls
Koha::Acquisition::Currencies->get_active, which requests the DB.
The currency data should be mocked.
Test plan:
sudo service mysql stop
prove t/Prices.t
should return green
Signed-off-by: Tomas Cohen Arazi <tomascohen at unc.edu.ar>
Patch works as expected and passes the qa-tools tests.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list