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

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #96434|0                           |1
        is obsolete|                            |
  Attachment #96435|0                           |1
        is obsolete|                            |
  Attachment #96436|0                           |1
        is obsolete|                            |

--- Comment #16 from Jonathan Druart <[email protected]> 
---
Created attachment 96455
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96455&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 <[email protected]>

Signed-off-by: Jonathan Druart <[email protected]>

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

Reply via email to