3 -- Turn off echo and keep things quiet.
5 -- Format the output for nice TAP.
10 -- Revert all changes on failure.
11 \set ON_ERROR_ROLLBACK 1
12 \set ON_ERROR_STOP true
15 -- Load the TAP functions.
22 -- Check for Lost and Paid copy status.
24 'SELECT * FROM config.copy_status WHERE id = 17',
25 'Lost and Paid copy status exists'
28 --Check for the org_unit setting.
30 'SELECT * FROM config.org_unit_setting_type WHERE name = $$circ.use_lost_paid_copy_status$$',
31 'circ.use_lost_paid_copy_status exists'
34 -- Finish the tests and clean up.
35 SELECT * FROM finish();