]> git.koha-community.org Git - koha.git/commit
Bug 14646: (regression test) Koha::RecordProcessor only accepts one filter at a time
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 4 Aug 2015 21:43:01 +0000 (18:43 -0300)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Thu, 20 Aug 2015 16:44:15 +0000 (13:44 -0300)
commit406098b20b5385d2df588520abecefc868f4c0c0
tree7390ca4a6c01f2a1b16c7f358a02f73bcd2dbfe3
parent91e9cafa7a7348753337e711013ed7d0ab7c0541
Bug 14646: (regression test) Koha::RecordProcessor only accepts one filter at a time

This patch introduces new tests to t/RecordProcessor.t so it tests for
creating processors with more than one filter. It does so by running

    my $processor = new Koha::RecordProcessor({
                            filters => ['Null','Dummy']
                        });

and testing the results.

To test:
- Apply the patch
- Run:
  $ prove t/RecordProcessor.t
=> FAIL: tests related to multiple filters fail.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
t/RecordProcessor.t