From: Dan Wells Date: Wed, 29 Jul 2015 14:48:28 +0000 (-0400) Subject: LP 1198465: Add missing util function for tests X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=437550e7b8343dd4c23c241f83488455be745724;p=evergreen%2Fmasslnc.git LP 1198465: Add missing util function for tests do_checkin_override() is needed for the new tests, but was missing from the branch. Signed-off-by: Dan Wells Signed-off-by: Remington Steed --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Utils/TestUtils.pm b/Open-ILS/src/perlmods/lib/OpenILS/Utils/TestUtils.pm index c98f39d4c1..443857c89d 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Utils/TestUtils.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Utils/TestUtils.pm @@ -33,4 +33,12 @@ sub do_checkin { return $resp; } +sub do_checkin_override { + my ($self,$args) = (shift,shift); + my $resp = $apputils->simplereq( + 'open-ils.circ', + 'open-ils.circ.checkin.override', $self->authtoken, $args ); + return $resp; +} + 1;