From: Mike Rylander <mrylander@gmail.com>
Date: Tue, 9 Feb 2021 21:11:03 +0000 (-0500)
Subject: Provide two library groups for testing with Concerto
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2fcec1d388419f9e798284d9dc20aab5016a789c;p=evergreen%2Fmasslnc.git

Provide two library groups for testing with Concerto

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
---

diff --git a/Open-ILS/tests/datasets/sql/libraries.sql b/Open-ILS/tests/datasets/sql/libraries.sql
index 00a54777f2..513dc2b7f2 100644
--- a/Open-ILS/tests/datasets/sql/libraries.sql
+++ b/Open-ILS/tests/datasets/sql/libraries.sql
@@ -15,6 +15,12 @@ INSERT INTO actor.org_unit (id, parent_ou, ou_type, shortname, name) VALUES
 INSERT INTO actor.org_unit (id, parent_ou, ou_type, shortname, name) VALUES 
     (9, 6, 5, 'BM1', oils_i18n_gettext(9, 'Example Bookmobile 1', 'aou', 'name'));
 
+INSERT INTO actor.org_lasso (id, name, global) VALUES (1000001, 'Even Branches', FALSE);
+INSERT INTO actor.org_lasso_map (lasso, org_unit) VALUES (1000001, 5), (1000001, 7);
+
+INSERT INTO actor.org_lasso (id, name, global) VALUES (1000002, 'Non-branches', TRUE);
+INSERT INTO actor.org_lasso_map (lasso, org_unit) VALUES (1000002, 8), (1000002, 9);
+
 -- Address for the Consortium
 SELECT evergreen.create_aou_address(1, '123 Main St.', NULL, 'Anywhere', 'GA', 'US', '30303', NULL);