]> git.koha-community.org Git - koha.git/commit
Bug 32132: Fix failing tests
authorEmmi Takkinen <emmi.takkinen@koha-suomi.fi>
Mon, 22 Apr 2024 11:02:20 +0000 (14:02 +0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 23 Apr 2024 15:47:05 +0000 (16:47 +0100)
commit96c8a0dbf6d3290e3ac3ac9eed157eb6a52621e9
tree1076063dfcdb94d5b03a03ca0af8b15e650829e3
parent61e7aa374e8b4f85497c55e3741d829123fc4763
Bug 32132: Fix failing tests

Some tests failed due changes made to aqbudgets.budget_period_id.
Tests failed with error:

DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception:
DBD::mysql::st execute failed: Field 'budget_period_id' doesn't
have a default value at...

This patch fixes those tests.

To test run following lines:
prove t/db_dependent/Acquisition/CancelReceipt.t
prove t/db_dependent/Acquisition/GetBasketAsCSV.t
prove t/db_dependent/Acquisition/GetBasketGroupAsCSV.t
prove t/db_dependent/Acquisition/GetBasketsInfosByBookseller.t
prove t/db_dependent/Acquisition/GetOrdersByBiblionumber.t
prove t/db_dependent/Acquisition/Invoices.t
prove t/db_dependent/Acquisition/NewOrder.t
prove t/db_dependent/Acquisition/OrderUsers.t
prove t/db_dependent/Acquisition/TransferOrder.t
prove t/db_dependent/Acquisition/close_reopen_basket.t
prove t/db_dependent/Koha/Acquisition/Funds.t
prove t/db_dependent/Letters.t

Sponsored-by: Koha-Suomi Oy
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
12 files changed:
t/db_dependent/Acquisition/CancelReceipt.t
t/db_dependent/Acquisition/GetBasketAsCSV.t
t/db_dependent/Acquisition/GetBasketGroupAsCSV.t
t/db_dependent/Acquisition/GetBasketsInfosByBookseller.t
t/db_dependent/Acquisition/GetOrdersByBiblionumber.t
t/db_dependent/Acquisition/Invoices.t
t/db_dependent/Acquisition/NewOrder.t
t/db_dependent/Acquisition/OrderUsers.t
t/db_dependent/Acquisition/TransferOrder.t
t/db_dependent/Acquisition/close_reopen_basket.t
t/db_dependent/Koha/Acquisition/Funds.t
t/db_dependent/Letters.t