Bug 24480: (follow-up) Adjust tests
authorNick Clemens <nick@bywatersolutions.com>
Fri, 15 Sep 2023 20:06:41 +0000 (20:06 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 10 Nov 2023 01:58:08 +0000 (15:58 -1000)
commit41c5793d70193ca1949d828e1658b646f721978b
tree742fb747faead9e88414a8afd2d3729f0e2e7c19
parent02a042d18f8130ae22486b309c5429c4693f8787
Bug 24480: (follow-up) Adjust tests

With the way the patchset alters to use insert_fields_ordered, we now add fields to the beginning of their number group as opposed to appending before. We just need ot shift the order we expect the fields to end up in to make the tests pass

To test:
1 - Apply all patches except this
2 - prove -v t/SimpleMARC.t t/db_dependent/MarcModificationTemplates.t
3 - It fails
4 - Apply this
5 - prove -v t/SimpleMARC.t t/db_dependent/MarcModificationTemplates.t
6 - It passes

Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit eeffa57eab1a693fe8c91990a987e12b61962e80)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/SimpleMARC.t
t/db_dependent/MarcModificationTemplates.t