[Koha-bugs] [Bug 21105] oai.pl returns invalid earliestDatestamp
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Nov 12 15:37:41 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21105
--- Comment #21 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 127587
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=127587&action=edit
Bug 21105: Regression tests
This patch introduces a regression test for the fixed behavior.
I also changed a oneliner regex we had for stripping query parameters
because it was causing a warning with the tests base URL
(http://localhost) because it was generating an empty baseURL.
To test:
1. Apply the regression tests patch
2. Run:
$ kshell
k$ prove t/db_dependent/OAI/Server.t
=> FAIL: Tests fail, the response is incorrect!
3. Apply the bug's patch
4. Repeat 2
=> SUCCESS: Tests pass! Good response!
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list