]> git.koha-community.org Git - koha.git/commit
Bug 24531: Test for OAI-PMH sets and repeated fields
authorMagnus Enger <magnus@libriotech.no>
Wed, 29 Jan 2020 22:56:32 +0000 (23:56 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 14 Feb 2020 12:00:20 +0000 (12:00 +0000)
commit3a49e02a5d184a7be800df3e6d0037584fdf3251
tree39d4167f77d15d8ea958ce90df65073f63a7b90b
parentd2e60c553ba42e61c8ad321c3625e6d291e9c13d
Bug 24531: Test for OAI-PMH sets and repeated fields

This patch adds two tests related to OAI-PMH sets. It creates a
dummy record with a repeated field, with different values. It then
tests if the record is caught by mappings that match the value in
the first field, and then if it is caught by mappings that match
the second field.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/OAI/Sets.t