[Koha-bugs] [Bug 17304] C4::Matcher::_get_match_keys is not tested

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 14 23:43:53 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17304

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 55574
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=55574&action=edit
Bug 17304: Introduce C4::Matcher::_get_match_keys unit tests

This function is used in several places, but it's behaviour is not covered by
tests, thus trying to patch it can be problematic without introducing
regressions.

This patch introduces unit tests for it, in the t/Matcher.t file.

To test:
- Apply the patch
- Run:
  $ prove t/Matcher.t
=> SUCCESS: Tests pass
- Sign off :-D

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list