[Koha-bugs] [Bug 35757] Sushi service and counter registry tests are failing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 10 11:25:22 CET 2024


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

David Nind <david at davidnind.com> changed:

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

--- Comment #5 from David Nind <david at davidnind.com> ---
Created attachment 160749
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160749&action=edit
Bug 35757: Fix unit tests for external counter registry API

This patch updates the unit tests for the external counter registry API used in
the Usage Statistics module. The intent of the tests is to identify any changes
in the external response that could lead to errors in Koha. To do this, the
tests now compare the list of hash keys returned in the response with the
current definition in Koha, and identifies any new fields that need to be added
to the definition.

Test plan:
prove t/db_dependent/api/v1/erm_counter_registries.t
prove t/db_dependent/api/v1/erm_sushi_services.t

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

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


More information about the Koha-bugs mailing list