From: djfiander Date: Thu, 15 Jun 2006 01:29:06 +0000 (+0000) Subject: Test renewing an item that's identified by title rather than by X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=83ebe470cc52f83663f13600b553670714fdff0e;p=working%2FSIPServer.git Test renewing an item that's identified by title rather than by item id. --- diff --git a/t/09renew.t b/t/09renew.t index 7a54069..8227e5d 100644 --- a/t/09renew.t +++ b/t/09renew.t @@ -57,6 +57,13 @@ my @tests = ( my $test; +# Renew: item checked out, identify by title +$test = clone($renew_test_template); +$test->{id} = 'Renew: identify item by title'; +$test->{msg} =~ s/AB1565921879\|/AJPerl 5 desktop reference|/; +# Everything else should be the same +push @tests, $test; + # Renew: item not checked out. Basically the same, except # for the leader test. $test = clone($renew_test_template); @@ -73,7 +80,6 @@ push @tests, $checkin_template, $test; # Still need tests for # - renewing invalid item # - invalid patron id -# - renewing via title id # - renewing a for-fee item # - patrons that are not permitted to renew # - renewing item with outstanding hold