blank and invalid patron for now, revisit
authorJason Etheridge <jason@EquinoxOLI.org>
Tue, 3 May 2022 19:15:12 +0000 (15:15 -0400)
committerJason Etheridge <jason@EquinoxOLI.org>
Tue, 3 May 2022 19:15:12 +0000 (15:15 -0400)
t/01patron_status.t
t/02patron_info.t

index e85f302..7e05462 100755 (executable)
@@ -61,7 +61,7 @@ my @tests = (
               pat => qr/^24[ Y]{14}\d{3}$datepat/,
               fields => [
                          { field    => FID_PERSONAL_NAME,
-                           pat      => qr/^$user_fullname$/o,
+                           pat      => qr/^$/o,
                            required => 1, },
                          { field    => FID_PATRON_ID,
                            pat      => qr/^$user_barcode$/o,
@@ -73,7 +73,7 @@ my @tests = (
                            pat      => qr/^N$/,
                            required => 1, },
                          { field    => FID_VALID_PATRON,
-                           pat      => qr/^Y$/,
+                           pat      => qr/^N$/,
                            required => 1, },
                          ], },
             { id => 'invalid Patron Status',
index fca9f1f..10d2e8b 100755 (executable)
@@ -172,7 +172,7 @@ sub create_invalid_patron_tests {
         $SIPtest::field_specs{ (FID_SCREEN_MSG) },
         $SIPtest::field_specs{ (FID_PRINT_LINE) },
           { field    => FID_PATRON_ID,
-            pat      => qr/^$user_barcode$/,
+            pat      => qr/^$/,
             required => 1,
           },
           { field    => FID_PERSONAL_NAME,