From 437550e7b8343dd4c23c241f83488455be745724 Mon Sep 17 00:00:00 2001 From: Dan Wells Date: Wed, 29 Jul 2015 10:48:28 -0400 Subject: [PATCH] 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 --- Open-ILS/src/perlmods/lib/OpenILS/Utils/TestUtils.pm | 8 ++++++++ 1 file changed, 8 insertions(+) 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; -- 2.43.2