http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9180
Katrin Fischer <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA --- Comment #23 from Katrin Fischer <[email protected]> --- Doing some first tests on this, noticing a few things: 1) The unit tests (yay!) are in a new file Overdues.pl - I think they need to be integrated into Overdues.t or the file should be renamed to be a .t file. 2) While t/db_dependent/Overdues.t passes with the tests, Ovedues.pl does not: bumblebee:~/kohaclone (19-9180-defaultoverduerules) $ perl t/db_dependent/Overdues.pl 1..4 not ok 1 - If a default rule exists, all branches should be returned # Failed test 'If a default rule exists, all branches should be returned' # at t/db_dependent/Overdues.pl line 26. # Structures begin differing at: # $got->[0] = 'TPL' # $expected->[0] = 'FRL' not ok 2 - If a default rule exists and a specific rule exists, all branches should be returned # Failed test 'If a default rule exists and a specific rule exists, all branches should be returned' # at t/db_dependent/Overdues.pl line 36. # Structures begin differing at: # $got->[0] = 'RPL' # $expected->[0] = 'FRL' ok 3 - If only a specific rule exist, only 1 branch should be returned ok 4 - If only 2 specific rules exist, 2 branches should be returned # Looks like you failed 2 tests of 4. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
