https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37803

--- Comment #15 from Jonathan Druart <[email protected]> ---
(In reply to Jonathan Druart from comment #14)
> Notice template not created for existing installations, is that expected?

Koha_Main_My8 is failing with:
18:55:44 koha_1       | No bookings BOOKING_CONFIRMATION letter transported by
email at /kohadevbox/koha/C4/Letters.pm line 610.
18:55:44 koha_1       | 
18:55:44 koha_1       |         #   Failed test 'Koha::Booking->store should
have enqueued a BOOKING_CONFIRMATION email for a new booking'
18:55:44 koha_1       |         #   at t/db_dependent/Koha/Booking.t line 413.
18:55:44 koha_1       |         #          got: '0'
18:55:44 koha_1       |         #     expected: '1'
18:55:44 koha_1       |         # Looks like you failed 1 test of 2.
18:55:44 koha_1       | 
18:55:44 koha_1       |     #   Failed test 'confirmation notice trigger'
18:55:44 koha_1       |     #   at t/db_dependent/Koha/Booking.t line 418.
18:55:44 koha_1       | No bookings BOOKING_CONFIRMATION letter transported by
email at /kohadevbox/koha/C4/Letters.pm line 610.
18:55:44 koha_1       | No bookings BOOKING_MODIFICATION letter transported by
email at /kohadevbox/koha/C4/Letters.pm line 610.
18:55:44 koha_1       | 
18:55:44 koha_1       |         #   Failed test 'Koha::Booking->store should
have enqueued a BOOKING_MODIFICATION email for a booking with modified
start_date'
18:55:44 koha_1       |         #   at t/db_dependent/Koha/Booking.t line 495.
18:55:44 koha_1       |         #          got: '0'
18:55:44 koha_1       |         #     expected: '1'
18:55:44 koha_1       | No bookings BOOKING_MODIFICATION letter transported by
email at /kohadevbox/koha/C4/Letters.pm line 610.
18:55:44 koha_1       | No bookings BOOKING_CANCELLATION letter transported by
email at /kohadevbox/koha/C4/Letters.pm line 610.
18:55:44 koha_1       | 
18:55:44 koha_1       |         #   Failed test 'Koha::Booking->store should
have enqueued a BOOKING_CANCELLATION email for a booking status change that is
a "cancellation"'
18:55:44 koha_1       |         #   at t/db_dependent/Koha/Booking.t line 537.
18:55:44 koha_1       |         #          got: '0'
18:55:44 koha_1       |         #     expected: '1'
18:58:14 koha_1       |         # Looks like you failed 2 tests of 5.
18:58:14 koha_1       | 
18:58:14 koha_1       |     #   Failed test 'modification/cancellation notice
triggers'
18:58:14 koha_1       |     #   at t/db_dependent/Koha/Booking.t line 542.
18:58:14 koha_1       | DBIx::Class::Storage::DBI::_dbh_execute(): DBI
Exception: DBD::mysql::st execute failed: Data truncated for column 'status' at
row 1 at /kohadevbox/koha/Koha/Object.pm line 172
18:58:14 koha_1       |     # Looks like you failed 2 tests of 16.
18:58:14 koha_1       | 
18:58:14 koha_1       | #   Failed test 'store() tests'
18:58:14 koha_1       | #   at t/db_dependent/Koha/Booking.t line 558.
18:58:14 koha_1       | # Looks like you failed 1 test of 2.
18:58:14 koha_1       | [17:52:23] t/db_dependent/Koha/Booking.t


The template is missing because we are running the tests suite after update DB
process, not a "normal" installation (using selenium tests, like in Koha_Main)
Jenkins config has `export TEST_DB_UPGRADE=yes`

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to