Bugzilla – Attachment 55871 Details for
Bug 15895
Add Koha::Account module, use Koha::Account::pay internally for recordpayment
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15895: Remove useless discard_changes calls
Bug-15895-Remove-useless-discardchanges-calls.patch (text/plain), 1.01 KB, created by
Jonathan Druart
on 2016-09-28 11:07:31 UTC
(
hide
)
Description:
Bug 15895: Remove useless discard_changes calls
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-09-28 11:07:31 UTC
Size:
1.01 KB
patch
obsolete
>From 95084c7a4b14f95275af6b97ecb4d8c79875f402 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 28 Sep 2016 11:54:09 +0100 >Subject: [PATCH] Bug 15895: Remove useless discard_changes calls > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/db_dependent/Accounts.t | 2 -- > 1 file changed, 2 deletions(-) > >diff --git a/t/db_dependent/Accounts.t b/t/db_dependent/Accounts.t >index 50a99fd..f78882a 100644 >--- a/t/db_dependent/Accounts.t >+++ b/t/db_dependent/Accounts.t >@@ -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; >-- >2.8.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15895
:
48331
|
49453
|
52138
|
53883
|
54543
|
55870
| 55871