]> git.koha-community.org Git - koha.git/commit
Bug 29523: Fix tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Sat, 28 Oct 2023 12:45:34 +0000 (09:45 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Sat, 28 Oct 2023 12:47:38 +0000 (09:47 -0300)
commit9f98be593a8bfe32ff17adeb9a9c050540b3dc96
treee28979c497e3fe4fb821452a1d2965f5a335c0fc
parent42330ef523b99c78c6457543072f12245b029fc9
Bug 29523: Fix tests

Some tests compare things to the output of `->to_api` and are exploding
because the (now mandatory) `user` parameter is not passed in the call.

In the case of IdP.t I just got rid of the use of `to_api` as we are
just trying to acknowledge a new user has been created and the API
representation of it is irrelevant.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Koha/Auth/Client.t
t/db_dependent/Koha/REST/Plugin/Auth/IdP.t
t/db_dependent/api/v1/erm_users.t
t/db_dependent/api/v1/ill_requests.t