[Koha-bugs] [Bug 36066] REST API: We should only allow deleting cancelled order lines

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 5 22:40:23 CET 2024


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

Victor Grousset/tuxayo <victor at tuxayo.net> changed:

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

--- Comment #20 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Created attachment 162790
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162790&action=edit
Bug 36066: Add tests

Signed-off-by: David Nind <david at davidnind.com>

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
[EDIT] As Victor discovered, the test with status new in subtest
'delete' needed the authorised user now.

Test plan:
Run t/db_dependent/api/v1/acquisitions_orders.t
Without the follow-up patch this should FAIL.

Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>

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


More information about the Koha-bugs mailing list