Bug 33996: Add missing authority objects mapping
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 13 Jun 2023 13:13:40 +0000 (10:13 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 29 Jun 2023 14:11:12 +0000 (11:11 -0300)
commit3b0fc1fc41ce540a3f1373ec3d0e8aa84a31c046
tree70641f49c167d0c9efee27af19a4a8a8c33dd009
parenta8633a58129bc2bb6b26986973501aa6649f2c78
Bug 33996: Add missing authority objects mapping

This patch adds a minimal mapping (i.e. some things get excluded from
the API objects for now). It makes some attributes consistent with the
current API names, and the rest can be added later when they become
needed and we discuss a proper name. But right now is a mess :-/

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

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Authority.pm
t/db_dependent/api/v1/authorities.t