[Koha-bugs] [Bug 30855] Rename /import => /import_batches
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu May 26 16:37:51 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30855
--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 135384
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135384&action=edit
Bug 30855: Rename /import => /import_batches
This patch renames the route to make it consistent for future additions.
To test:
1. Run
$ git grep 'matches/chosen'
=> FAIL: all occurences use /api/v1/import/
2. Apply this patch
3. Run:
$ git grep 'matches/chosen'
=> SUCCESS: All occurences have '/api/v1/import_batches/'
4. Run:
$ kshell
k$ prove t/db_dependent/api/v1/import_record_matches.t
=> SUCCESS: Tests pass!
5. Sign off :-D
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list