https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15895
--- Comment #2 from Jonathan Druart <[email protected]> --- Comment on attachment 48331 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=48331 Bug 15895 - Add Koha::Account module, use Koha::Account::pay internally for recordpayment Review of attachment 48331: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=15895&attachment=48331) ----------------------------------------------------------------- ::: t/db_dependent/Accounts.t @@ +158,5 @@ > > + my $line1 = Koha::Account::Line->new({ borrowernumber => > $borrower->borrowernumber, amountoutstanding => 100 })->store(); > + my $line2 = Koha::Account::Line->new({ borrowernumber => > $borrower->borrowernumber, amountoutstanding => 200 })->store(); > + $line1->_result->discard_changes; > + $line2->_result->discard_changes; Why do you need these 2 calls? -- 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/
