[open-ils-commits] [GIT] Evergreen ILS branch master updated. 9793d47e12fe00be9ffcbb519bd22861e299192c
Evergreen Git
git at git.evergreen-ils.org
Tue Mar 14 22:20:44 EDT 2017
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 9793d47e12fe00be9ffcbb519bd22861e299192c (commit)
from 549d6a0847f4a7a68db5d41270290c24f16c9aa1 (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 9793d47e12fe00be9ffcbb519bd22861e299192c
Author: Dan Scott <dscott at laurentian.ca>
Date: Wed Mar 8 09:13:43 2017 -0500
LP#1671112 Sample users and addresses with Unicode characters
Introducing to the line up of sample users, José Antonio Bautista
and Munenori Kawasaki (川﨑 宗則), hailing from 800 René-Lévesque Blvd W in
Montréal.
Signed-off-by: Dan Scott <dscott at laurentian.ca>
Signed-off-by: Ben Shum <ben at evergreener.net>
diff --git a/Open-ILS/tests/datasets/sql/users_patrons_100.sql b/Open-ILS/tests/datasets/sql/users_patrons_100.sql
index 9ed900b..5923e87 100644
--- a/Open-ILS/tests/datasets/sql/users_patrons_100.sql
+++ b/Open-ILS/tests/datasets/sql/users_patrons_100.sql
@@ -2106,3 +2106,43 @@ UPDATE actor.usr SET
credit_forward_balance = '0',
mailing_address = CURRVAL('actor.usr_address_id_seq')
WHERE id=CURRVAL('actor.usr_id_seq');
+
+INSERT INTO actor.usr
+ (profile, ident_type, usrname, home_ou, family_name, passwd, first_given_name, second_given_name, expire_date, dob, suffix)
+ VALUES (2, 3, 'jbautista', 9, 'Bautista', 'joseb1234',
+ 'José', 'Antonio', NOW() + '3 years'::INTERVAL, NULL, '');
+
+INSERT INTO actor.usr_address
+ (country, within_city_limits, post_code, street1, valid, state, city, street2, county, usr)
+ VALUES ('Canada', 't', 'H3B 1X9', '800 René-Lévesque Blvd W', 't',
+ 'QC', 'Montréal', 'Suite 201', '', CURRVAL('actor.usr_id_seq'));
+
+INSERT INTO actor.card (barcode, usr)
+ VALUES ('99999361323', CURRVAL('actor.usr_id_seq'));
+
+UPDATE actor.usr SET
+ card = CURRVAL('actor.card_id_seq'),
+ billing_address = CURRVAL('actor.usr_address_id_seq'),
+ credit_forward_balance = '0',
+ mailing_address = CURRVAL('actor.usr_address_id_seq')
+ WHERE id=CURRVAL('actor.usr_id_seq');
+
+INSERT INTO actor.usr
+ (profile, ident_type, usrname, home_ou, family_name, passwd, first_given_name, second_given_name, expire_date, dob, suffix)
+ VALUES (2, 3, 'mkawasaki', 9, 'Kawasaki', 'mkawasaki1234',
+ '川﨑 宗則', 'Munenori', NOW() + '3 years'::INTERVAL, NULL, '');
+
+INSERT INTO actor.usr_address
+ (country, within_city_limits, post_code, street1, valid, state, city, street2, county, usr)
+ VALUES ('Canada', 't', 'H3B 1X9', '800 René-Lévesque Blvd W', 't',
+ 'QC', 'Montréal', 'Suite 101', '', CURRVAL('actor.usr_id_seq'));
+
+INSERT INTO actor.card (barcode, usr)
+ VALUES ('99999361366', CURRVAL('actor.usr_id_seq'));
+
+UPDATE actor.usr SET
+ card = CURRVAL('actor.card_id_seq'),
+ billing_address = CURRVAL('actor.usr_address_id_seq'),
+ credit_forward_balance = '0',
+ mailing_address = CURRVAL('actor.usr_address_id_seq')
+ WHERE id=CURRVAL('actor.usr_id_seq');
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/tests/datasets/sql/users_patrons_100.sql | 40 +++++++++++++++++++++
1 files changed, 40 insertions(+), 0 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list