Koha-clms/t/lib
Tomas Cohen Arazi 86f917e2bd
Bug 36593: Add 'time' column type support to TestBuilder
This simple patch adds support for the 'time' column type.

To test:
1. Run:
   $ ktd --shell
  k$ perl -Mt::lib::TestBuilder -e 'my $b = t::lib::TestBuilder->new; my
$hour = $b->build_object({ class => "Koha::Library::Hours" });'
=> FAIL: It explodes as it doesn't know how to deal with the 'time'
column type
2. Apply this patch and the follow-up
3. Run:
  k$ prove -MDDP -Mt::lib::TestBuilder -e 'my $b =
t::lib::TestBuilder->new; my $h = $b->build_object({ class => "Koha::Library::Hours" }); p($h->unblessed);'
=> SUCCESS: It generates an hour!
4. Run:
  k$ prove t/db_dependent/TestBuilder.t
=> SUCCESS: It builds all the things!
5. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-04-16 17:59:42 +02:00
..
IdP Bug 31378: Rename Auth Provider to Identity Provider and add Client.t tests 2022-11-08 14:39:51 -03:00
Koha/BackgroundJob Bug 31351: (QA follow-up) Adjust tests accordingly 2022-09-07 13:59:07 -07:00
Mocks Bug 36084: Fix cookie domain for www/ tests 2024-03-04 14:33:24 +01:00
QA Bug 31883: Filter trim causes false warnings 2022-10-20 11:22:33 -03:00
bad_plugins/Koha/Plugin Bug 29273: Remove warnings from plugin tests 2021-11-15 12:38:39 +01:00
plugins/Koha/Plugin Bug 34943: (QA follow-up) Use `before_biblio_action` and an `action` param 2024-03-25 09:53:20 +01:00
Bootstrap.pm Bug 19821: Require database_test != database 2021-10-25 11:27:40 +02:00
Dates.pm
…
Mocks.pm Bug 33718: Fix the mock of Koha::Config->get in mock_config 2023-05-16 11:47:22 +02:00
Selenium.pm Bug 35329: Add POD + tidy Selenium.pm 2024-03-01 11:01:22 +01:00
TestBuilder.pm Bug 36593: Add 'time' column type support to TestBuilder 2024-04-16 17:59:42 +02:00