http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10481
--- Comment #25 from Galen Charlton <[email protected]> --- Comment on attachment 20407 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20407 Bug 10481: Unit tests for C4::Members::AddEnrolmentFeeIfNeeded Review of attachment 20407: --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=10481&attachment=20407) ----------------------------------------------------------------- ::: t/db_dependent/Members/AddEnrolmentFeeIfNeeded.t @@ +50,5 @@ > + > +# Check with calling directly AddEnrolmentFeeIfNeeded > +C4::Members::AddEnrolmentFeeIfNeeded( 'YA', $borrowernumber ); > +( $total ) = C4::Members::GetMemberAccountRecords( $borrowernumber ); > +is( $total, $enrolmentfee_K + $enrolmentfee_J + $enrolmentfee_YA, "Juvenile > growing and become an young adult, he should pay " . ( $enrolmentfee_K + > $enrolmentfee_J + $enrolmentfee_YA ) ); If I were a kid in this library district, I would think twice about reporting my age! ;) -- 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/
