[open-ils-commits] [GIT] Evergreen ILS branch master updated. c3125b355fc442689dc2f203bc535bf068d63283
Evergreen Git
git at git.evergreen-ils.org
Sun Dec 23 13:27:24 EST 2012
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 c3125b355fc442689dc2f203bc535bf068d63283 (commit)
from bff532c317f2ae7bf5157159b0f732ac74483c26 (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 c3125b355fc442689dc2f203bc535bf068d63283
Author: Bill Erickson <berick at esilibrary.com>
Date: Fri Dec 21 11:14:10 2012 -0500
Test data copies get "checked out" copy status when circ'd
Set the status to 1 (checked out) for items that are circulated as part
of the test data transactions load. Otherwise, the data is busted and
renewals are not possible.
Signed-off-by: Bill Erickson <berick at esilibrary.com>
Signed-off-by: Ben Shum <bshum at biblio.org>
diff --git a/Open-ILS/tests/datasets/sql/env_create.sql b/Open-ILS/tests/datasets/sql/env_create.sql
index 4a2970d..9dedb06 100644
--- a/Open-ILS/tests/datasets/sql/env_create.sql
+++ b/Open-ILS/tests/datasets/sql/env_create.sql
@@ -123,6 +123,10 @@ BEGIN
max_fine.name,
due_date
);
+
+ -- mark copy as checked out
+ UPDATE asset.copy SET status = 1 WHERE id = copy_id;
+
END;
$$ LANGUAGE PLPGSQL;
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/tests/datasets/sql/env_create.sql | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list