]> git.koha-community.org Git - koha.git/commit
Bug 32734: (QA follow-up) Make use of $c->objects->to_api
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 13 Mar 2023 18:06:44 +0000 (15:06 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 13 Mar 2023 18:12:13 +0000 (15:12 -0300)
commita8daacac2c0e80c70d3665a2016cbb20b16bcf5e
treec4154367efeaeb859f2f1781d13725a830a8242d
parent79e3fd1640dd2dc96f9157745224a84c4e0cf632
Bug 32734: (QA follow-up) Make use of $c->objects->to_api

This is using plain `$biblios->to_api` but as of bug 33080, the new
helper should be used instead. This patch fixes that.

To test:
1. Run:
   $ ktd --shell
  k$ prove t/db_dependent/api/v1/biblios.t
=> SUCCESS: Tests pass!
2. Apply this patch
3. Repeat 1
=> SUCCESS: Tests pass!

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/REST/V1/Biblios.pm