[Koha-bugs] [Bug 16912] Koha:: Patrons - Move AddEnrolmentFeeIfNeeded to add_enrolment_fee_if_needed
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Oct 21 19:04:00 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16912
Kyle M Hall <kyle at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kyle at bywatersolutions.com
Status|Passed QA |Failed QA
--- Comment #23 from Kyle M Hall <kyle at bywatersolutions.com> ---
Looks like this may need a rebase and a unit test fix up:
t/db_dependent/Koha/Patrons.t .. 8/11 Violation of unique constraint in
Category at /home/vagrant/kohaclone/t/lib/TestBuilder.pm line 201.
Violation of unique constraint in Category at
/home/vagrant/kohaclone/t/lib/TestBuilder.pm line 201.
Violation of unique constraint in Category at
/home/vagrant/kohaclone/t/lib/TestBuilder.pm line 201.
# Failed test 'New kid pay 5'
# at t/db_dependent/Koha/Patrons.t line 276.
# got: '0'
# expected: '5'
# Failed test 'Kid growing and become a juvenile, but shouldn't pay for
the upgrade '
# at t/db_dependent/Koha/Patrons.t line 282.
# got: '0'
# expected: '5'
# Failed test 'Kid growing and become a juvenile, he should pay 15'
# at t/db_dependent/Koha/Patrons.t line 291.
# got: '0'
# expected: '15'
# Failed test 'Juvenile growing and become an young adult, he should pay
35'
# at t/db_dependent/Koha/Patrons.t line 298.
# got: '0'
# expected: '35'
# Looks like you failed 4 tests of 4.
# Failed test 'add_enrolment_fee_if_needed'
# at t/db_dependent/Koha/Patrons.t line 304.
# Looks like you failed 1 test of 11.
t/db_dependent/Koha/Patrons.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/11 subtests
Test Summary Report
-------------------
t/db_dependent/Koha/Patrons.t (Wstat: 256 Tests: 11 Failed: 1)
Failed test: 10
Non-zero exit status: 1
Files=1, Tests=11, 2 wallclock secs ( 0.04 usr 0.00 sys + 1.80 cusr 0.15
csys = 1.99 CPU)
Result: FAIL
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list