[Bug 42407] New: Test failure when HoldsLog enabled: t/db_dependent/Koha/Patrons.t
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42407 Bug ID: 42407 Summary: Test failure when HoldsLog enabled: t/db_dependent/Koha/Patrons.t Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Test Suite Assignee: chris@bigballofwax.co.nz Reporter: andrew@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org To recreate: - confirm HoldsLog is set to Don't Log - prove t/db_dependent/Koha/Patrons.t - it passes! - set HoldsLog to Log - prove t/db_dependent/Koha/Patrons.t - it fails :( kohadev-koha@kohadevbox:koha(main)$ prove t/db_dependent/Koha/Patrons.t t/db_dependent/Koha/Patrons.t .. 21/50 # Looks like you planned 6 tests but ran 2. # Failed test 'holds and old_holds' # at t/db_dependent/Koha/Patrons.t line 1310. encountered object '2026-04-18T19:39:47', but neither allow_blessed, convert_blessed nor allow_tags settings are enabled (or TO_JSON/FREEZE method missing) at /usr/share/perl5/JSON.pm line 173. # Looks like your test exited with 11 just after 23. t/db_dependent/Koha/Patrons.t .. Dubious, test returned 11 (wstat 2816, 0xb00) Failed 28/50 subtests Test Summary Report ------------------- t/db_dependent/Koha/Patrons.t (Wstat: 2816 (exited 11) Tests: 23 Failed: 1) Failed test: 22 Non-zero exit status: 11 Parse errors: Bad plan. You planned 50 tests but ran 23. Files=1, Tests=23, 7 wallclock secs ( 0.01 usr 0.00 sys + 2.85 cusr 0.60 csys = 3.46 CPU) Result: FAIL -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org