]> git.koha-community.org Git - koha.git/commit
Bug 30855: Rename /import => /import_batches
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 26 May 2022 14:17:18 +0000 (11:17 -0300)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 10 Jun 2022 16:48:16 +0000 (16:48 +0000)
commitc5be7b9f564984f99c3f9bdedc216b794b52297f
tree69b8f95ec340c31982e927755b857dff799f1308
parentc31ed9aaf124c866d14973b2deb6058197f3e64e
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@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 891972d0d335c4cf13ea458a024256367c21b6ad)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Koha/REST/V1/ImportRecordMatches.pm
api/v1/swagger/paths/import_batches.yaml [new file with mode: 0644]
api/v1/swagger/paths/import_record_matches.yaml [deleted file]
api/v1/swagger/swagger.yaml
koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt
t/db_dependent/api/v1/import_record_matches.t