Bugzilla – Attachment 16291 Details for
Bug 9838
SIP tests : fix in 04patron_status.t
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch #1
0001-Bug-9838-fix-on-04patron_status.t.patch (text/plain), 1.50 KB, created by
Adrien SAURAT
on 2013-03-18 16:44:47 UTC
(
hide
)
Description:
proposed patch #1
Filename:
MIME Type:
Creator:
Adrien SAURAT
Created:
2013-03-18 16:44:47 UTC
Size:
1.50 KB
patch
obsolete
>From 8833f3c360b66083d778428ac6206e6fed67e4be Mon Sep 17 00:00:00 2001 >From: Adrien Saurat <adrien.saurat@biblibre.com> >Date: Mon, 18 Mar 2013 17:41:42 +0100 >Subject: [PATCH] Bug 9838: fix on 04patron_status.t > >Some patron infos were hard coded instead >of using the variables defined in SIPtest.pm >--- > C4/SIP/t/04patron_status.t | 8 ++++---- > 1 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/C4/SIP/t/04patron_status.t b/C4/SIP/t/04patron_status.t >index 03ca59b..f0dc71e 100644 >--- a/C4/SIP/t/04patron_status.t >+++ b/C4/SIP/t/04patron_status.t >@@ -17,10 +17,10 @@ my $patron_status_test_template = { > $SIPtest::field_specs{(FID_SCREEN_MSG)}, > $SIPtest::field_specs{(FID_PRINT_LINE)}, > { field => FID_PATRON_ID, >- pat => qr/^23529001000463$/, >+ pat => qr/^$user_barcode$/, > required => 1, }, > { field => FID_PERSONAL_NAME, >- pat => qr/^Edna Acosta$/, >+ pat => qr/^$user_fullname$/, > required => 1, }, > { field => FID_VALID_PATRON, > pat => qr/^Y$/, >@@ -76,10 +76,10 @@ $test->{fields} = [ > $SIPtest::field_specs{(FID_SCREEN_MSG)}, > $SIPtest::field_specs{(FID_PRINT_LINE)}, > { field => FID_PATRON_ID, >- pat => qr/^23529001000463$/, >+ pat => qr/^$user_barcode$/, > required => 1, }, > { field => FID_PERSONAL_NAME, >- pat => qr/^Edna Acosta$/, >+ pat => qr/^$user_fullname$/, > required => 1, }, > { field => FID_VALID_PATRON, > pat => qr/^Y$/, >-- >1.7.5.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 9838
:
16291
|
16389
|
17119