Bug 34008: Harmonize attribute names
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 30 Oct 2023 16:14:16 +0000 (13:14 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 8 Nov 2023 08:41:49 +0000 (22:41 -1000)
commitbaf56d81b73a7bf4ad8559fb654059c9149bd4d9
tree984b965daffaec8e028a5bf9a5f9cf9ff5631e59
parent0438f8fbb5a7fe809b5c24d22ec75a8ac3de41ca
Bug 34008: Harmonize attribute names

This patch harmonizes the attribute names with what is used for `items`
and `checkouts` in terms of terminology.

It also adapts the tests so they are less random failure-prone (they had
a fixed value for the item type, which might make things explode if the
chosen value already exists on the DB.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 78589dbe6ecf1a4126b0420894a732bd58a9752a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/ItemType.pm
Koha/Schema/Result/Itemtype.pm
api/v1/swagger/definitions/item_type.yaml
t/db_dependent/api/v1/item_types.t