From d5f7f4072454e7c816d901de341bcc29401122ae Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 30 Mar 2016 12:22:03 -0300 Subject: [PATCH] Bug 16172: fix OAI Server tests broken by bug 15946 This patch makes t/db_dependent/OAI/Server.t test for the correct schema and metadata namespace. To test: - Run $ prove t/db_dependent/OAI/Server.t => FAIL: Tests fail due to differences in the output. - Apply the patch - Run $ prove t/db_dependent/OAI/Server.t => SUCCESS: Tests now pass - Sign off Regards Signed-off-by: Mark Tompsett Signed-off-by: Jonathan Druart Signed-off-by: Brendan A Gallagher --- t/db_dependent/OAI/Server.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/OAI/Server.t b/t/db_dependent/OAI/Server.t index 4e2d6262b8..05c2d87a10 100644 --- a/t/db_dependent/OAI/Server.t +++ b/t/db_dependent/OAI/Server.t @@ -97,9 +97,9 @@ my $expected = { schema => 'http://www.openarchives.org/OAI/2.0/oai_dc.xsd', }, { - metadataNamespace => 'http://www.loc.gov/MARC21/slim http://www.loc.gov/ standards/marcxml/schema/MARC21slim', + metadataNamespace => 'http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim', metadataPrefix => 'marcxml', - schema => 'http://www.loc.gov/MARC21/slim http://www.loc.gov/ standards/marcxml/schema/MARC21slim.xsd', + schema => 'http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd', }, ], }, -- 2.39.5