https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42914
David Nind <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Status|Needs Signoff |Failed QA --- Comment #2 from David Nind <[email protected]> --- Tests fail when changes in steps 2-3 are left in place. If everything is reset back to the default for KTD (reset_all), the test pass (with PatronRestrictionTypes set to both allow and don't allow). Everything else works as per the test plan. prove t/db_dependent/Circulation.t t/db_dependent/Members.t t/db_dependent/Patron/Borrower_Debarments.t t/db_dependent/Circulation.t ................. 30/87 # Transfer limit: Holding -> Return # Transfer limit: Return -> Home # Transfer limit: Return -> Holding t/db_dependent/Circulation.t ................. ok t/db_dependent/Members.t ..................... ok t/db_dependent/Patron/Borrower_Debarments.t .. 35/40 # Failed test '->restrictions returns 1 restriction after paying half of the fee' # at t/db_dependent/Patron/Borrower_Debarments.t line 331. # got: '2' # expected: '1' # Failed test 'Restriction left has type value 'TEST2'' # at t/db_dependent/Patron/Borrower_Debarments.t line 332. # got: 'TEST' # expected: 'TEST2' # Failed test '->restrictions returns 0 restrictions after paying all fees' # at t/db_dependent/Patron/Borrower_Debarments.t line 336. # got: '1' # expected: '0' # Failed test 'no warnings' # at /usr/share/perl/5.40/Test/Builder.pm line 193. # There were 1 warning(s) # Previous test 34 'Koha::Patron->merge_with() transfers well debarredcomment' # Violation of unique constraint in RestrictionType at /kohadevbox/koha/t/lib/TestBuilder.pm line 365. # at /kohadevbox/koha/t/lib/TestBuilder.pm line 365. # t::lib::TestBuilder::_buildColumnValues(t::lib::TestBuilder=HASH(0x5e61c79cb798), HASH(0x5e61d0cf7618)) called at /kohadevbox/koha/t/lib/TestBuilder.pm line 121 # t::lib::TestBuilder::build(t::lib::TestBuilder=HASH(0x5e61c79cb798), HASH(0x5e61d0d1b7b8)) called at t/db_dependent/Patron/Borrower_Debarments.t line 267 # # Looks like you failed 4 tests of 40. t/db_dependent/Patron/Borrower_Debarments.t .. Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/40 subtests Test Summary Report ------------------- t/db_dependent/Patron/Borrower_Debarments.t (Wstat: 1024 (exited 4) Tests: 40 Failed: 4) Failed tests: 36-38, 40 Non-zero exit status: 4 Files=3, Tests=180, 56 wallclock secs ( 0.14 usr 0.01 sys + 39.62 cusr 10.53 csys = 50.30 CPU) Result: FAIL -- You are receiving this mail because: You are the assignee for the bug. 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/
