From e796e2e2cb3615fd92c6871bba4a7e113f3006a9 Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Wed, 25 May 2022 08:27:03 -0400 Subject: [PATCH] making assumptions here about valid patron and valid patron password fields when querying with combinations of bad barcodes and passwords Signed-off-by: Jason Etheridge --- t/02patron_info.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/t/02patron_info.t b/t/02patron_info.t index 58853e0..2c54e4e 100755 --- a/t/02patron_info.t +++ b/t/02patron_info.t @@ -172,15 +172,15 @@ sub create_invalid_patron_tests { $SIPtest::field_specs{ (FID_SCREEN_MSG) }, $SIPtest::field_specs{ (FID_PRINT_LINE) }, { field => FID_PATRON_ID, - pat => qr/^$/, + pat => qr/^$user_barcode$/, required => 1, }, { field => FID_PERSONAL_NAME, - pat => qr/^$user_fullname$/, + pat => qr/^$/, required => 1, }, { field => FID_VALID_PATRON, - pat => qr/^Y$/, + pat => qr/^N$/, required => 1, }, { field => FID_VALID_PATRON_PWD, -- 2.11.0