https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19784
Dilan Johnpullé <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #10 from Dilan Johnpullé <[email protected]> --- Attempted to sign off in devbox but test failed in kshell with the following: t/db_dependent/api/v1/patrons.t .. 1/5 DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key constraint fails (`koha_kohadev`.`account_offsets`, CONSTRAINT `account_offsets_ibfk_t` FOREIGN KEY (`type`) REFERENCES `account_offset_types` (`type`) ON DELETE CASCADE ON UPDATE CASCADE) [for Statement "INSERT INTO `account_offsets` ( `amount`, `debit_id`, `type`) VALUES ( ?, ?, ? )" with ParamValues: 0=5841405127227230000000.000000, 1='1', 2='Manual Debit'] at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832. # Failed test 'Patron created successfully' # at t/db_dependent/api/v1/patrons.t line 210. # got: '500' # expected: '201' # Failed test 'got a patron_id' # at t/db_dependent/api/v1/patrons.t line 210. # Failed test 'exact match for JSON Pointer "/cardnumber"' # at t/db_dependent/api/v1/patrons.t line 210. # got: undef # expected: 'av0WRHT1xJdZ1JDtAZ2' # Failed test 'exact match for JSON Pointer "/surname"' # at t/db_dependent/api/v1/patrons.t line 210. # got: undef # expected: 'iC24_uBTgv' # Failed test 'exact match for JSON Pointer "/firstname"' # at t/db_dependent/api/v1/patrons.t line 210. # got: undef # expected: 'sIxTOBcMXz' # Looks like you failed 5 tests of 18. # Failed test 'librarian access tests' # at t/db_dependent/api/v1/patrons.t line 224. # Looks like you failed 1 test of 2. t/db_dependent/api/v1/patrons.t .. 3/5 # Failed test 'add() tests' # at t/db_dependent/api/v1/patrons.t line 225. t/db_dependent/api/v1/patrons.t .. 5/5 # Looks like you failed 1 test of 5. t/db_dependent/api/v1/patrons.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/5 subtests Test Summary Report ------------------- t/db_dependent/api/v1/patrons.t (Wstat: 256 Tests: 5 Failed: 1) Failed test: 3 Non-zero exit status: 1 Files=1, Tests=5, 5 wallclock secs ( 0.03 usr 0.02 sys + 3.20 cusr 0.86 csys = 4.11 CPU) Result: FAIL -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://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/
