]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 2 Jun 2022 16:42:28 +0000 (13:42 -0300)
commit891972d0d335c4cf13ea458a024256367c21b6ad
treef3c980e1c5cf4584723d46977e1bb311a83e1695
parent022330b8d26b81e53f9c4af7798fa42ff48bdaa3
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>
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