Bug 15895: Remove useless discard_changes calls
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
547ca4c8c1
commit
4176f6fb73
|
|
@ -155,8 +155,6 @@ subtest "recordpayment() tests" => sub {
|
|||
|
||||
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;
|
||||
|
||||
$sth = $dbh->prepare("SELECT count(*) FROM accountlines");
|
||||
$sth->execute;
|
||||
|
|
|
|||
Loading…
Reference in New Issue