[Koha-bugs] [Bug 14646] Koha::RecordProcessor only accepts one filter at a time

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 19 12:48:19 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14646

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #41391|0                           |1
        is obsolete|                            |
  Attachment #41392|0                           |1
        is obsolete|                            |

--- Comment #5 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 41655
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41655&action=edit
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 at hotmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

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


More information about the Koha-bugs mailing list