From 424652b70022e069fb904c1bcd35b6201d04498b Mon Sep 17 00:00:00 2001 From: Adrien Saurat 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 Signed-off-by: Kyle M Hall Signed-off-by: Jonathan Druart Signed-off-by: Jared Camins-Esakov Signed-off-by: Chris Cormack --- C4/SIP/t/04patron_status.t | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/C4/SIP/t/04patron_status.t b/C4/SIP/t/04patron_status.t index 03ca59bb0c..f0dc71ea8a 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$/, -- 2.39.5