Bugzilla – Attachment 77279 Details for
Bug 12001
GetMemberAccountRecords slows down display of patron details and checkout pages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12001: [17.11.X] correct ILSDI_Services.t UT
Bug-12001-1711X-correct-ILSDIServicest-UT.patch (text/plain), 1.29 KB, created by
Fridolin Somers
on 2018-07-26 11:33:30 UTC
(
hide
)
Description:
Bug 12001: [17.11.X] correct ILSDI_Services.t UT
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2018-07-26 11:33:30 UTC
Size:
1.29 KB
patch
obsolete
>From 7c12f0a591b2b8859b04163aea9c0ab9b4b4d135 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Thu, 26 Jul 2018 13:26:16 +0200 >Subject: [PATCH] Bug 12001: [17.11.X] correct ILSDI_Services.t UT > >extracted from commit in master : >6355791848 Bug 12001: Move GetMemberAccountBalance to Koha::Account->non_issues_charges >--- > t/db_dependent/ILSDI_Services.t | 13 +++++++++++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/ILSDI_Services.t b/t/db_dependent/ILSDI_Services.t >index 588daf31ea..1eca594137 100644 >--- a/t/db_dependent/ILSDI_Services.t >+++ b/t/db_dependent/ILSDI_Services.t >@@ -174,8 +174,17 @@ subtest 'GetPatronInfo/GetBorrowerAttributes test for extended patron attributes > } > } ); > >- my $members = Test::MockModule->new('C4::Members'); >- $members->mock( 'GetMemberAccountBalance', sub { return ( 10, 10, 0 ); } ); >+ $builder->build( >+ { >+ source => 'Accountline', >+ value => { >+ borrowernumber => $brwr->{borrowernumber}, >+ accountno => 1, >+ accounttype => 'xxx', >+ amountoutstanding => 10 >+ } >+ } >+ ); > > # Prepare and send web request for IL-SDI server: > my $query = new CGI; >-- >2.17.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 12001
:
70314
|
70342
|
70343
|
70344
|
70345
|
70346
|
71798
|
71799
|
71800
|
71801
|
71802
|
71852
|
71853
|
71854
|
71855
|
71856
|
71857
|
71979
|
71980
|
71981
|
71982
|
71983
|
71984
|
71985
|
71986
|
71987
|
71988
|
77066
|
77136
|
77278
| 77279