https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38011
David Nind <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #3 from David Nind <[email protected]> --- The tests failed for me (using KTD). If I don't run the databaseupdate, the tests pass: prove t/db_dependent/Koha/Subscription.t t/db_dependent/Koha/Subscription.t .. ok All tests successful. Files=1, Tests=10, 2 wallclock secs ( 0.01 usr 0.00 sys + 1.32 cusr 0.39 csys = 1.72 CPU) Result: PASS If I do a databaseupdate and restart everything, the tests fail: prove t/db_dependent/Koha/Subscription.t t/db_dependent/Koha/Subscription.t .. 1/10 DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key constraint fails (`koha_kohadev`.`subscription`, CONSTRAINT `subscription_ibfk_4` FOREIGN KEY (`aqbooksellerid`) REFERENCES `aqbooksellers` (`id`) ON DELETE SET NULL ON UPDATE CASCADE) at /kohadevbox/koha/Koha/Object.pm line 172 # No tests run! # Failed test 'No tests run for subtest "Koha::Subscription->biblio"' # at t/db_dependent/Koha/Subscription.t line 49. Broken FK constraint# Looks like your test exited with 255 just after 2. t/db_dependent/Koha/Subscription.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 9/10 subtests Test Summary Report ------------------- t/db_dependent/Koha/Subscription.t (Wstat: 65280 (exited 255) Tests: 2 Failed: 1) Failed test: 2 Non-zero exit status: 255 Parse errors: Bad plan. You planned 10 tests but ran 2. Files=1, Tests=2, 2 wallclock secs ( 0.02 usr 0.01 sys + 0.92 cusr 0.17 csys = 1.12 CPU) Result: FAIL Am I supposed to run the databaseupdate? -- 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/
