Revert "blank and invalid patron for now, revisit"
authorJason Etheridge <jason@EquinoxOLI.org>
Wed, 23 Nov 2022 18:24:12 +0000 (13:24 -0500)
committerJason Etheridge <jason@EquinoxOLI.org>
Wed, 23 Nov 2022 18:24:12 +0000 (13:24 -0500)
This reverts commit 45430c0404250ee6d199fa8582867a072f3c9d9c.

t/01patron_status.t

index 7e05462..e85f302 100755 (executable)
@@ -61,7 +61,7 @@ my @tests = (
               pat => qr/^24[ Y]{14}\d{3}$datepat/,
               fields => [
                          { field    => FID_PERSONAL_NAME,
-                           pat      => qr/^$/o,
+                           pat      => qr/^$user_fullname$/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/^N$/,
+                           pat      => qr/^Y$/,
                            required => 1, },
                          ], },
             { id => 'invalid Patron Status',