pat => qr/^24Y{4}[ Y]{10}000$datepat/,
fields => [], };
+my $checkin_template = {
+ id => 'Checkout: cleanup: check in item',
+ msg => '09N20050102 08423620060113 084235APUnder the bed|AOUWOLS|AB1565921879|ACterminal password|',
+ pat => qr/^10YYNN$datepat/,
+ fields => [],
+ };
+
my $checkout_test_template = {
id => 'Checkout: valid item, valid patron',
msg => '11YN20060329 203000 AOUWOLS|AAdjfiander|AB1565921879|AC|',
$SIPtest::login_test,
$SIPtest::sc_status_test,
clone($checkout_test_template),
+ # Don't check the item in, because we're about to test renew
);
my $test;
push @tests, $test;
+# NOW check it in
+
+push @tests, $checkin_template;
+
# Valid Patron, Invalid Item_id
$test = clone($checkout_test_template);