]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/sql/Pg/t/lp1507807_in-house-use_alerts.pg
LP1773452: Repeating copy alerts
[working/Evergreen.git] / Open-ILS / src / sql / Pg / t / lp1507807_in-house-use_alerts.pg
1 -- Load the TAP functions.
2 BEGIN;
3
4 -- Plan the tests.
5 SELECT plan(2);
6
7 -- Run the tests.
8
9 SELECT isnt_empty(
10     'SELECT * FROM config.org_unit_setting_type WHERE name = $$circ.in_house_use.copy_alert$$',
11     'circ.in_house_use.copy_alert exists'
12 );
13
14 SELECT isnt_empty(
15     'SELECT * FROM config.org_unit_setting_type WHERE name = $$circ.in_house_use.checkin_alert$$',
16     'circ.in_house_use.checkin_alert exists'
17 );
18
19 -- Finish the tests and clean up.
20 SELECT * FROM finish();
21 ROLLBACK;