[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 04:37:19 CET 2024


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         QA Contact|                            |victor at tuxayo.net
             Status|Signed Off                  |Failed QA
                 CC|                            |victor at tuxayo.net

--- Comment #9 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Hi :)

After moving the tests to their own commit, I was able to run them without the
implementation. And it turns out the tests pass :o

> $t->delete_ok( "//$unauth_userid:$password@/api/v1/acquisitions/orders/" . $order->ordernumber )->status_is(403);

It's likely because of $unauth_userid is used instead of $auth_userid.

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


More information about the Koha-bugs mailing list