test item info call number extension
authorJason Etheridge <jason@EquinoxOLI.org>
Sat, 26 Nov 2022 14:45:50 +0000 (09:45 -0500)
committerJason Etheridge <jason@EquinoxOLI.org>
Sat, 26 Nov 2022 14:45:50 +0000 (09:45 -0500)
Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
t/17extensions.t

index 57c7e0a..1258e63 100755 (executable)
@@ -217,6 +217,15 @@ sub create_amh_sorting_extension_tests {
         pat      => qr/^BR4$/o,
         just_warn => 1, required => 1, };
     push @tests, $test;
+
+    # Extension for AMH sorting
+    $test = clone($item2_on_hold_info_test_template);
+    $test->{id} = "Item Info call number extension";
+    push @{$test->{fields}}, {
+        field    => FID_CALL_NUMBER,
+        pat      => qr/^ML 60 R17$/o,
+        just_warn => 1, required => 1, };
+    push @tests, $test;
 }
 
 create_patron_info_extension_tests();