From 812a726341db6abb0ec0e95e2bf54b7e0d21311d Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Wed, 8 Jan 2014 22:39:57 -0500 Subject: [PATCH] Repair the live_t regression tests When we added more realistic hours of operation for some of the branches, several of the live_t regression tests failed because they depended on the default hours of operation for BR4. Rather than change the regression test, just switch BR4 back to the default hours of operation and use BR1 as the closed-on-weekends branch instead. Signed-off-by: Dan Scott Signed-off-by: Bill Erickson --- Open-ILS/tests/datasets/sql/libraries.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Open-ILS/tests/datasets/sql/libraries.sql b/Open-ILS/tests/datasets/sql/libraries.sql index fb6cdd10e2..00a54777f2 100644 --- a/Open-ILS/tests/datasets/sql/libraries.sql +++ b/Open-ILS/tests/datasets/sql/libraries.sql @@ -45,14 +45,14 @@ SELECT evergreen.create_aou_address(7, 'BR4 - Holds and ILL', '756 Industrial La INSERT INTO actor.hours_of_operation (id, dow_0_open, dow_0_close, dow_1_open, dow_1_close, dow_2_open, dow_2_close, dow_3_open, dow_3_close, dow_4_open, dow_4_close, dow_5_open, dow_5_close, dow_6_open, dow_6_close) VALUES --- BR1 - accept defaults of 09:00 - 17:00 for each day - (4, '09:00', '17:00', '09:00', '17:00', '09:00', '17:00', '09:00', '17:00', '09:00', '17:00', '09:00', '17:00', '09:00', '17:00'), +-- BR1 - closed on weekends (convention is 00:00 - 00:00) + (4, '08:00', '23:30', '08:00', '23:30', '08:00', '23:30', '08:00', '23:30', '09:00', '23:30', '00:00', '00:00', '00:00', '00:00'), -- BR2 - accept defaults of 09:00 - 17:00 for some days (5, '08:30', '21:30', '09:30', '14:30', '10:00', '21:30', '08:30', '17:00', '09:00', '17:00', '09:00', '17:00', '09:00', '17:00'), -- BR3 - accept defaults of 09:00 - 17:00 for some days (6, '08:00', '23:30', '08:00', '23:30', '08:00', '23:30', '08:00', '23:30', '09:00', '23:30', '13:00', '23:30', '09:00', '23:30'), --- BR4 - closed on weekends (convention is 00:00 - 00:00) - (7, '08:00', '23:30', '08:00', '23:30', '08:00', '23:30', '08:00', '23:30', '09:00', '23:30', '00:00', '00:00', '00:00', '00:00'); +-- BR4 - accept defaults of 09:00 - 17:00 for each day + (7, '09:00', '17:00', '09:00', '17:00', '09:00', '17:00', '09:00', '17:00', '09:00', '17:00', '09:00', '17:00', '09:00', '17:00'); -- Set some information URLs for library branches INSERT INTO actor.org_unit_setting(org_unit, name, value) VALUES -- 2.43.2