[koha-commits] main Koha release repository branch master updated. v16.05.00-423-g1be7fb5
Git repo owner
gitmaster at git.koha-community.org
Thu Aug 4 22:02:02 CEST 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 1be7fb5e12f0dd3911bb182ef2c0740c481337ec (commit)
from 13004a8c649f1098f1ddd3be5a02b75bad27f3d8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1be7fb5e12f0dd3911bb182ef2c0740c481337ec
Author: Mark Tompsett <mtompset at hotmail.com>
Date: Wed Jul 6 21:37:21 2016 -0400
Bug 16868: Silence error t/db_dependent/Linker_FirstMatch.t
When the auth_header table has records which exclude 1xx and
2xx tags, the $bibfield doesn't match anything. This in turn
sets it to undef, which triggers an error on the next line
killing the test.
This was completely refactored to provide the data necessary
for the tests to pass, and to be more comprehensive (both MARC
and UNIMARC are tested). The tests are then run.
C4::Headings::authorities is mocked, so that this test is not
dependent on a search engine.
TEST PLAN
---------
1) back up DB
2) DELETE FROM auth_header;
3) SOURCE auth_header.sql;
-- the provided file
4) prove t/db_dependent/Linker_FirstMatch.t
-- should barf before running all the tests
5) apply all patches
6) prove t/db_dependent/Linker_FirstMatch.t
-- should work happy
7) run koha qa test tools
8) restore your backup
Followed test plan, behaves as expected.
Signed-off-by: Marc <veron at veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
t/db_dependent/Linker_FirstMatch.t | 155 ++++++++++++++++++++++++++++--------
1 file changed, 123 insertions(+), 32 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list