Bugzilla – Attachment 59030 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 Jenkinds for t/db_dependent/Holds/LocalHoldsPriority.t
Bug-17917-Fix-Jenkinds-for-tdbdependentHoldsLocalH.patch (text/plain), 1.59 KB, created by
Mark Tompsett
on 2017-01-16 20:03:44 UTC
(
hide
)
Description:
Bug 17917: Fix Jenkinds for t/db_dependent/Holds/LocalHoldsPriority.t
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2017-01-16 20:03:44 UTC
Size:
1.59 KB
patch
obsolete
>From a921f87ac4e4f18cea1793f051a4200cd27a9669 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Mon, 16 Jan 2017 15:01:38 -0500 >Subject: [PATCH] Bug 17917: Fix Jenkinds for > t/db_dependent/Holds/LocalHoldsPriority.t > >TEST PLAN >--------- >1) prove -v t/db_dependent/Holds/LocalHoldsPriority.t > -- fail >2) apply this patch >3) prove -v t/db_dependent/Holds/LocalHoldsPriority.t > --success >4) run koha qa test tools >--- > t/db_dependent/Holds/LocalHoldsPriority.t | 18 +++++++++++------- > 1 file changed, 11 insertions(+), 7 deletions(-) > >diff --git a/t/db_dependent/Holds/LocalHoldsPriority.t b/t/db_dependent/Holds/LocalHoldsPriority.t >index ef40686..ef17f92 100755 >--- a/t/db_dependent/Holds/LocalHoldsPriority.t >+++ b/t/db_dependent/Holds/LocalHoldsPriority.t >@@ -55,13 +55,17 @@ my @branchcodes = ( $library1->{branchcode}, $library2->{branchcode}, $library3- > > # Create some borrowers > my @borrowernumbers; >-foreach ( 1 .. $borrowers_count ) { >- my $borrowernumber = AddMember( >- firstname => 'my firstname', >- surname => 'my surname ' . $_, >- categorycode => 'S', >- branchcode => $branchcodes[$_], >- ); >+foreach my $count ( 1 .. $borrowers_count ) { >+ my $patron = $builder->build({ >+ source => 'Borrower', >+ value => { >+ firstname => 'my firstname', >+ surname => 'my surname ' . $count, >+ categorycode => 'S', >+ branchcode => $branchcodes[$count], >+ }, >+ }); >+ my $borrowernumber = $patron->{borrowernumber}; > push @borrowernumbers, $borrowernumber; > } > >-- >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