[Koha-bugs] [Bug 24232] Deleting a bib record after attaching the last item to another bib

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 18 18:32:54 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24232

ByWater Sandboxes <bws.sandboxes at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #96388|0                           |1
        is obsolete|                            |

--- Comment #12 from ByWater Sandboxes <bws.sandboxes at gmail.com> ---
Created attachment 96434
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96434&action=edit
Bug 24232: Regression tests

This patch enhances the tests for the DELETE /biblios/:biblio_id
endpoint so more fine grained permissions are tested.

It highlights the fact that the required permissions defined on the spec
are not correcttly defined.

To test:
1. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/biblios.t
=> FAIL: Tests fail because the user (that now has subpermissions only)
does not have enough permissions for a non-existent subpermission

Signed-off-by: Kelly McElligott <kelly at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list