Bug 15946 fixed a couple problems regarding schema and metadata namespaces, but forgot to adjust the tests to reflect this behaviour change, thus, the tests are broken. To reproduce: - Run $ prove t/db_dependent/OAI/Server.t => FAIL: Tests fail due to differences in the output. Patch to come.
Created attachment 49687 [details] [review] 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
Created attachment 49704 [details] [review] 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 <mtompset@hotmail.com>
Created attachment 49735 [details] [review] 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 <mtompset@hotmail.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Just quick big note: our Koha::OAI::Server::Repository is broken if HTTP::OAI 4.03 is installed (testing): Can't locate object method "xslt" via package "Koha::OAI::Server::ListMetadataFormats" at Koha/OAI/ Server/Repository.pm line 139. Everything is ok using Jessie
Pushed to Master - Should be in the May 2016 release. Thanks!
Not needed in stable versions, status changed to RESOLVED