[open-ils-commits] [GIT] Evergreen ILS branch master updated. 26581c762f386104c5002b68b9dd99fb0a68116e

Evergreen Git git at git.evergreen-ils.org
Mon Jul 30 10:36:40 EDT 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  26581c762f386104c5002b68b9dd99fb0a68116e (commit)
      from  58b95737d55970f9b12c3bf805c198f99aeeb3c1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 26581c762f386104c5002b68b9dd99fb0a68116e
Author: Bill Erickson <berickxx at gmail.com>
Date:   Mon Jul 30 10:23:37 2018 -0400

    LP#1766716 Closed dates Perl live test API repair
    
    Update the org unit close date Perl live test to match API changes for
    emergecy org unit close dates handling.
    
    Signed-off-by: Bill Erickson <berickxx at gmail.com>
    Signed-off-by: Chris Sharp <csharp at georgialibraries.org>

diff --git a/Open-ILS/src/perlmods/live_t/04-overdue_with_closed_dates.t b/Open-ILS/src/perlmods/live_t/04-overdue_with_closed_dates.t
index 739fe26..1672921 100644
--- a/Open-ILS/src/perlmods/live_t/04-overdue_with_closed_dates.t
+++ b/Open-ILS/src/perlmods/live_t/04-overdue_with_closed_dates.t
@@ -41,10 +41,13 @@ sub create_closed_date {
 sub update_closed_date {
     my $aoucd = shift;
     $aoucd->reason($aoucd->reason . ' modified');
-    return $apputils->simplereq(
+
+    my $cd = $apputils->simplereq(
         'open-ils.actor',
         'open-ils.actor.org_unit.closed.update',
         $script->authtoken, $aoucd);
+
+    return ref $cd eq 'Fieldmapper::actor::org_unit::closed_date';
 }
 
 sub delete_closed_date {

-----------------------------------------------------------------------

Summary of changes:
 .../perlmods/live_t/04-overdue_with_closed_dates.t |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list