Bugzilla – Attachment 28519 Details for
Bug 12025
Inventory tool fails with "Could not reads headers", or sometimes a timeout
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6254: (follow-up) work-around to fix a failing test case
Bug-6254-follow-up-work-around-to-fix-a-failing-te.patch (text/plain), 1.83 KB, created by
Marcel de Rooy
on 2014-05-28 14:04:18 UTC
(
hide
)
Description:
Bug 6254: (follow-up) work-around to fix a failing test case
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2014-05-28 14:04:18 UTC
Size:
1.83 KB
patch
obsolete
>From c4f7164cb92c63043c4877aef79714c5461496c9 Mon Sep 17 00:00:00 2001 >From: Galen Charlton <gmc@esilibrary.com> >Date: Mon, 26 May 2014 04:19:19 +0000 >Subject: [PATCH] Bug 6254: (follow-up) work-around to fix a failing test case >Content-Type: text/plain; charset=utf-8 > >This patch ensures that a patron category that is present >in the (English) sample data is used for the ILS-DI tests, >avoiding a situation where one part of AddMember was trying >to access a patron category via DBIC but failed because >it was not visible to it yet. > >Note that this will become easier once C4::Context->dbh >and DBIC are using the same base DBI database handles. > >Signed-off-by: Galen Charlton <gmc@esilibrary.com> >--- > t/db_dependent/ILSDI_Services.t | 8 ++++---- > 1 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/t/db_dependent/ILSDI_Services.t b/t/db_dependent/ILSDI_Services.t >index 43fbeea..4d584a2 100644 >--- a/t/db_dependent/ILSDI_Services.t >+++ b/t/db_dependent/ILSDI_Services.t >@@ -22,7 +22,7 @@ $dbh->{RaiseError} = 1; > my %data = ( > firstname => 'my firstname', > surname => 'my surname', >- categorycode => 'UT', >+ categorycode => 'PT', > branchcode => 'UT', > cardnumber => 'ilsdi-cardnumber', > userid => 'ilsdi-userid', >@@ -30,11 +30,11 @@ my %data = ( > ); > > # Crate patron category >-unless ( GetBorrowercategory('UT') ) { >+unless ( GetBorrowercategory('PT') ) { > $dbh->do("INSERT INTO categories >- (categorycode,description,enrolmentperiod,upperagelimit,enrolmentfee,overduenoticerequired,reservefee,category_type) >+ (categorycode,description,enrolmentperiod,upperagelimit,enrolmentfee,overduenoticerequired,reservefee,category_type,default_privacy) > VALUES >- ('UT','Unit tester',99,99,0.000000,1,0.000000,'C');"); >+ ('PT','Unit tester',99,99,0.000000,1,0.000000,'C','default');"); > } > > # Create branch >-- >1.7.7.6
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 12025
:
26759
|
28401
|
28404
|
28519
|
28521