Bug 21800: Add tests for repeatable subfields
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 13 Feb 2020 11:55:32 +0000 (11:55 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 24 Mar 2020 10:54:46 +0000 (10:54 +0000)
commit661702e6694da80820020c98cb3e63911ef32e8f
tree001750f09728e167f10ac8032d1820a07b7e1e68
parent15dd83268bf7a6ed05aeefc2280c41e6ca5af342
Bug 21800: Add tests for repeatable subfields

Test plan:
Do not apply the second patch [note 1].
Run t/db_dependent/Biblio/TransformKohaToMarc.t
Run t/db_dependent/Biblio/TransformMarcToKoha.t
Apply the second patch and run them again. Both tests should pass now.

Note 1: The TransformKohaToMarc test should fail with something like:
    #   Failed test 'Check 260e'
    #   at t/db_dependent/Biblio/TransformKohaToMarc.t line 60.
    #          got: 'A'
    #     expected: 'A | B'

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Ere Maijala <ere.maijala@helsinki.fi>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/Biblio/TransformKohaToMarc.t
t/db_dependent/Biblio/TransformMarcToKoha.t