Bugzilla – Attachment 59042 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/Serials_2.t
Bug-17917-Fix-Jenkins-for-tdbdependentSerials2t.patch (text/plain), 1.47 KB, created by
Mark Tompsett
on 2017-01-17 01:20:30 UTC
(
hide
)
Description:
Bug 17917: Fix Jenkins for t/db_dependent/Serials_2.t
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2017-01-17 01:20:30 UTC
Size:
1.47 KB
patch
obsolete
>From 03321a246c333cf94ce8857cbd8fac3b1e7c79e1 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Mon, 16 Jan 2017 20:18:22 -0500 >Subject: [PATCH] Bug 17917: Fix Jenkins for t/db_dependent/Serials_2.t > >TEST PLAN >--------- >1) prove -v t/db_dependent/Serials_2.t > -- fails >2) apply this patch >3) prove -v t/db_dependent/Serials_2.t > -- succeeds >4) run koha qa test tools >--- > t/db_dependent/Serials_2.t | 19 ++++++++++++------- > 1 file changed, 12 insertions(+), 7 deletions(-) > >diff --git a/t/db_dependent/Serials_2.t b/t/db_dependent/Serials_2.t >index 202c641..fff4560 100644 >--- a/t/db_dependent/Serials_2.t >+++ b/t/db_dependent/Serials_2.t >@@ -78,13 +78,18 @@ is( C4::Serials::can_edit_subscription($subscription_from_my_branch), 0, "cannot > is( C4::Serials::can_claim_subscription($subscription_from_my_branch), 0, "cannot edit a subscription without userenv set"); > > my $userid = 'my_userid'; >-my $borrowernumber = C4::Members::AddMember( >- firstname => 'my fistname', >- surname => 'my surname', >- categorycode => 'S', >- branchcode => $my_branch, >- userid => $userid, >-); >+my $patron = $builder->build({ >+ source => 'Borrower', >+ value => { >+ firstname => 'my fistname', >+ surname => 'my surname', >+ categorycode => 'S', >+ branchcode => $my_branch, >+ userid => $userid, >+ }, >+}); >+ >+my $borrowernumber = $patron->{borrowernumber}; > > $userenv = { flags => 1, id => $borrowernumber, branch => '' }; > >-- >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