https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30661
--- Comment #17 from Johanna Räisä <[email protected]> --- (In reply to David Nind from comment #16) > Tests are still failing for me 8-(: > > prove t/db_dependent/api/v1/holds.t > t/db_dependent/api/v1/holds.t .. 9/16 > # Failed test '200 OK' > # at t/db_dependent/api/v1/holds.t line 1036. > # got: '400' > # expected: '200' > > # Failed test 'Hold date changed correctly' > # at t/db_dependent/api/v1/holds.t line 1040. > # got: '2022-01-01' > # expected: '2022-01-02' > > # Failed test 'Expiration date changed correctly' > # at t/db_dependent/api/v1/holds.t line 1041. > # got: '2022-03-01' > # expected: '2022-03-02' > > # Failed test '200 OK' > # at t/db_dependent/api/v1/holds.t line 1116. > # got: '400' > # expected: '200' > > # Failed test 'Hold date changed correctly' > # at t/db_dependent/api/v1/holds.t line 1119. > # got: '2022-01-01' > # expected: '2022-01-02' > > # Failed test 'Expiration date changed correctly' > # at t/db_dependent/api/v1/holds.t line 1120. > # got: '2022-03-01' > # expected: '2022-03-02' > # Looks like you failed 6 tests of 47. > t/db_dependent/api/v1/holds.t .. 11/16 > # Failed test 'edit() tests' > # at t/db_dependent/api/v1/holds.t line 1124. > t/db_dependent/api/v1/holds.t .. 14/16 > # Failed test '403 Forbidden' > # at t/db_dependent/api/v1/holds.t line 1624. > # got: '404' > # expected: '403' > > # Failed test 'exact match for JSON Pointer ""' > # at t/db_dependent/api/v1/holds.t line 1624. > # Structures begin differing at: > # $got->{errors} = ARRAY(0x60ee6c5f4130) > # $expected->{errors} = Does not exist > > # Failed test 'exact match for JSON Pointer ""' > # at t/db_dependent/api/v1/holds.t line 1631. > # Structures begin differing at: > # $got->{status} = '404' > # $expected->{status} = Does not exist > > # Failed test '200 OK' > # at t/db_dependent/api/v1/holds.t line 1634. > # got: '404' > # expected: '200' > > # Failed test 'exact match for JSON Pointer ""' > # at t/db_dependent/api/v1/holds.t line 1634. > # Structures begin differing at: > # $got->{status} = '404' > # $expected->{status} = Does not exist > > # Failed test 'hold date changed correctly' > # at t/db_dependent/api/v1/holds.t line 1638. > # got: '2024-10-22' > # expected: '2022-01-01' > # Looks like you failed 6 tests of 10. > > # Failed test 'PUT /holds/{hold_id}/hold_date tests' > # at t/db_dependent/api/v1/holds.t line 1641. > > # Failed test 'exact match for JSON Pointer ""' > # at t/db_dependent/api/v1/holds.t line 1687. > # Structures begin differing at: > # $got->{errors} = ARRAY(0x60ee6ca3f200) > # $expected->{errors} = Does not exist > > # Failed test '200 OK' > # at t/db_dependent/api/v1/holds.t line 1691. > # got: '404' > # expected: '200' > > # Failed test 'exact match for JSON Pointer ""' > # at t/db_dependent/api/v1/holds.t line 1691. > # Structures begin differing at: > # $got->{errors} = ARRAY(0x60ee6c5e0ab8) > # $expected->{errors} = Does not exist > > # Failed test 'expiration date changed correctly' > # at t/db_dependent/api/v1/holds.t line 1696. > # got: undef > # expected: '2022-01-01' > # Looks like you failed 4 tests of 7. > > # Failed test 'PUT /holds/{hold_id}/expiration_date tests' > # at t/db_dependent/api/v1/holds.t line 1699. > # Looks like you failed 3 tests of 16. > t/db_dependent/api/v1/holds.t .. Dubious, test returned 3 (wstat 768, 0x300) > Failed 3/16 subtests > > Test Summary Report > ------------------- > t/db_dependent/api/v1/holds.t (Wstat: 768 (exited 3) Tests: 16 Failed: 3) > Failed tests: 11, 15-16 > Non-zero exit status: 3 > Files=1, Tests=16, 11 wallclock secs ( 0.04 usr 0.01 sys + 8.69 cusr 2.04 > csys = 10.78 CPU) > Result: FAIL Interesting, I fetched main branch today and added the code on it. My tests go through, are you on main branch? -- 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/
