Bug 24480: (follow-up) Adjust tests
authorNick Clemens <nick@bywatersolutions.com>
Fri, 15 Sep 2023 20:06:41 +0000 (20:06 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 3 Nov 2023 15:04:35 +0000 (12:04 -0300)
commiteeffa57eab1a693fe8c91990a987e12b61962e80
tree1171b8fcd2f3d3d7b2025ef323ab0cb62ed19e48
parent498f0dfeccacb38fbc0b3ccbc6c47e769f7f8518
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>
t/SimpleMARC.t
t/db_dependent/MarcModificationTemplates.t