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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
_______________________________________________
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/

Reply via email to