]> git.koha-community.org Git - koha.git/commit
Bug 32030: ERM - Add more API tests
authorPedro Amorim <pjamorim91@gmail.com>
Tue, 25 Oct 2022 18:55:35 +0000 (18:55 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 8 Nov 2022 12:44:40 +0000 (09:44 -0300)
commit46a7434fbf85159f38d2d5508c90881af64add33
tree3444e9791492ee3fe73cb1cb77e4fd22ae5b1cdc
parent48cf2a24a23f5400a65846a8952f61643211acf4
Bug 32030: ERM - Add more API tests

- Agreements: Added tests for search and filter_expired as well as some missing comments; fix user flags
- Licenses: Updated tests to be on par with agreements; fix user flags
- EHoldings Packages: New tests on par with others
- EHoldings Titles: New tests on par with others plus import titles tests
- EHoldings Resources: New tests - get and list
- Documents: New tests; Only has GET endpoint; Tests to better mirror real documents lifecycle through a license;
- Users: New tests

Signed-off-by: Jonathan Field <jonathan.field@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/api/v1/erm_agreements.t
t/db_dependent/api/v1/erm_documents.t [new file with mode: 0755]
t/db_dependent/api/v1/erm_eholdings_packages.t [new file with mode: 0755]
t/db_dependent/api/v1/erm_eholdings_resources.t [new file with mode: 0755]
t/db_dependent/api/v1/erm_eholdings_titles.t [new file with mode: 0755]
t/db_dependent/api/v1/erm_licenses.t
t/db_dependent/api/v1/erm_users.t [new file with mode: 0755]