]> 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)
committerFrédéric Demians <f.demians@tamil.fr>
Fri, 30 Sep 2016 09:21:21 +0000 (11:21 +0200)
commit3f235844498dab1719572e25a73d0c5fb7ffcd7b
tree6358ea5417f37de2a83e4d4c533a616f9cd8e846
parentc73b60d7168f7f00226d01b09c604f253f35c36c
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>
(cherry picked from commit 5135b1a0a14ca958fe73505ed019bafe944dabc7)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
t/Matcher.t