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 <kyle@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
parent
5e25953ec4
commit
b2b0785caa
|
|
@ -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$/,
|
||||
|
|
|
|||
Loading…
Reference in New Issue