https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36493 Bug ID: 36493 Summary: Test for GET /api/v1/cash_registers/:cash_register_id/cashups is fragile Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: REST API Assignee: koha-bugs@lists.koha-community.org Reporter: tomascohen@gmail.com CC: tomascohen@gmail.com This test fails if Koha has a cash register defined already, with ID=1. To reproduce: 1. Fire up a fresh KTD 2. Add a cash register (needs UseCashRegisters enabled) 3. Run: $ ktd --shell k$ prove t/db_dependent/api/v1/cashups.t => FAIL: Expecting a 404 ("Register not found"), getting a 200. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.