]> git.koha-community.org Git - koha.git/commit
Bug 17304: Introduce C4::Matcher::_get_match_keys unit tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 14 Sep 2016 19:00:19 +0000 (16:00 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Sun, 25 Sep 2016 14:07:36 +0000 (14:07 +0000)
commit5135b1a0a14ca958fe73505ed019bafe944dabc7
tree8cc0a41309f7e98b28a683f6439a9c35cb6368a8
parentab9a082b5f418c17063def1b0fa678b59f247fe2
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

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/Matcher.t