LP 1198465: Add missing util function for tests
authorDan Wells <dbw2@calvin.edu>
Wed, 29 Jul 2015 14:48:28 +0000 (10:48 -0400)
committerDan Wells <dbw2@calvin.edu>
Wed, 29 Jul 2015 14:50:30 +0000 (10:50 -0400)
do_checkin_override() is needed for the new tests, but was missing
from the branch.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Open-ILS/src/perlmods/lib/OpenILS/Utils/TestUtils.pm

index c98f39d..443857c 100644 (file)
@@ -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;