Bugzilla – Attachment 59041 Details for
Bug 17917
t/db_dependent/check_sysprefs.t fails on kohadev strangely
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17917: Fix Jenkins for t/db_dependent/Members/GetAllIssues.t
Bug-17917-Fix-Jenkins-for-tdbdependentMembersGetAl.patch (text/plain), 1.65 KB, created by
Mark Tompsett
on 2017-01-17 01:14:00 UTC
(
hide
)
Description:
Bug 17917: Fix Jenkins for t/db_dependent/Members/GetAllIssues.t
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2017-01-17 01:14:00 UTC
Size:
1.65 KB
patch
obsolete
>From 23709493758b5297ffb37e232b86281e5c6cfb5e Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Mon, 16 Jan 2017 20:12:00 -0500 >Subject: [PATCH] Bug 17917: Fix Jenkins for > t/db_dependent/Members/GetAllIssues.t > >TEST PLAN >--------- >1) prove -v t/db_dependent/Members/GetAllIssues.t > -- fails >2) apply this patch >3) prove -v t/db_dependent/Members/GetAllIssues.t > -- succeeds >4) run koha qa test tools >--- > t/db_dependent/Members/GetAllIssues.t | 20 ++++++++++++++++---- > 1 file changed, 16 insertions(+), 4 deletions(-) > >diff --git a/t/db_dependent/Members/GetAllIssues.t b/t/db_dependent/Members/GetAllIssues.t >index 56864a8..a74a15d 100644 >--- a/t/db_dependent/Members/GetAllIssues.t >+++ b/t/db_dependent/Members/GetAllIssues.t >@@ -62,10 +62,22 @@ my ($biblionumber2) = AddBiblio( MARC::Record->new, '' ); > my $itemnumber3 = > AddItem( { barcode => '0203', %item_infos }, $biblionumber2 ); > >-my $borrowernumber1 = >- AddMember( categorycode => $categorycode, branchcode => $branchcode ); >-my $borrowernumber2 = >- AddMember( categorycode => $categorycode, branchcode => $branchcode ); >+my $patron1 = $builder->build({ >+ source => 'Borrower', >+ value => { >+ categorycode => $categorycode, >+ branchcode => $branchcode, >+ } >+}); >+my $borrowernumber1 = $patron1->{borrowernumber}; >+my $patron2 = $builder->build({ >+ source => 'Borrower', >+ value => { >+ categorycode => $categorycode, >+ branchcode => $branchcode, >+ } >+}); >+my $borrowernumber2 = $patron2->{borrowernumber}; > my $borrower1 = GetMember( borrowernumber => $borrowernumber1 ); > my $borrower2 = GetMember( borrowernumber => $borrowernumber2 ); > >-- >2.1.4
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 17917
:
59026
|
59027
|
59028
|
59029
|
59030
|
59031
|
59039
|
59040
|
59041
|
59042
|
59044
|
59045
|
59046
|
59052
|
59062
|
59175
|
59206
|
59207
|
59274
|
59287
|
59299
|
59310
|
59311
|
59313
|
59319
|
59320
|
59321