Bugzilla – Attachment 59039 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/Circulation/issue.t
Bug-17917-Fix-Jenkins-for-tdbdependentCirculationi.patch (text/plain), 1.95 KB, created by
Mark Tompsett
on 2017-01-17 01:00:24 UTC
(
hide
)
Description:
Bug 17917: Fix Jenkins for t/db_dependent/Circulation/issue.t
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2017-01-17 01:00:24 UTC
Size:
1.95 KB
patch
obsolete
>From 9fbbadb22a42ffee11979facc0a2d773cb6f0e41 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Mon, 16 Jan 2017 19:58:06 -0500 >Subject: [PATCH] Bug 17917: Fix Jenkins for t/db_dependent/Circulation/issue.t > >TEST PLAN >--------- >1) prove -v t/db_dependent/Circulation/issue.t > -- fail >2) apply this patch >3) prove -v t/db_dependent/Circulation/issue.t > -- success >4) run koha qa test tools >--- > t/db_dependent/Circulation/issue.t | 32 ++++++++++++++++++++------------ > 1 file changed, 20 insertions(+), 12 deletions(-) > >diff --git a/t/db_dependent/Circulation/issue.t b/t/db_dependent/Circulation/issue.t >index 22f4d0a..f0e839a 100644 >--- a/t/db_dependent/Circulation/issue.t >+++ b/t/db_dependent/Circulation/issue.t >@@ -142,19 +142,27 @@ my @sampleitem2 = C4::Items::AddItem( > my $item_id2 = $sampleitem2[2]; > > #Add borrower >-my $borrower_id1 = C4::Members::AddMember( >- firstname => 'firstname1', >- surname => 'surname1 ', >- categorycode => $categorycode, >- branchcode => $branchcode_1 >-); >+my $patron1 = $builder->build({ >+ source => 'Borrower', >+ value => { >+ firstname => 'firstname1', >+ surname => 'surname1 ', >+ categorycode => $categorycode, >+ branchcode => $branchcode_1, >+ }, >+}); >+my $borrower_id1 = $patron1->{borrowernumber}; > my $borrower_1 = C4::Members::GetMember(borrowernumber => $borrower_id1); >-my $borrower_id2 = C4::Members::AddMember( >- firstname => 'firstname2', >- surname => 'surname2 ', >- categorycode => $categorycode, >- branchcode => $branchcode_2, >-); >+my $patron2 = $builder->build({ >+ source => 'Borrower', >+ value => { >+ firstname => 'firstname2', >+ surname => 'surname2 ', >+ categorycode => $categorycode, >+ branchcode => $branchcode_2, >+ }, >+}); >+my $borrower_id2 = $patron2->{borrowernumber}; > my $borrower_2 = C4::Members::GetMember(borrowernumber => $borrower_id2); > > my @USERENV = ( >-- >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