]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/sql/Pg/t/lp1599634_Circulation_report_source_to_include_in-house_and_non_cat_circ.pg
27957199e442357ac097993b42ad251177a111be
[working/Evergreen.git] / Open-ILS / src / sql / Pg / t / lp1599634_Circulation_report_source_to_include_in-house_and_non_cat_circ.pg
1 \set ECHO
2 \set QUIET 1
3 -- Turn off echo and keep things quiet.
4
5 -- Format the output for nice TAP.
6 \pset format unaligned
7 \pset tuples_only true
8 \pset pager
9
10 -- Revert all changes on failure.
11 \set ON_ERROR_ROLLBACK 1
12 \set ON_ERROR_STOP true
13 \set QUIET 1
14
15 -- Load the TAP functions.
16 BEGIN;
17
18 -- Plan the tests.
19 SELECT plan(1);
20
21 -- Run the tests.
22 -- Check to make sure that the action.all_circulation_combined_types view exists
23 SELECT has_view( 'action', 'all_circulation_combined_types', 'VIEW action.all_circulation_combined_types EXISTS' );
24
25 -- Finish the tests and clean up.
26 SELECT * FROM finish();
27 ROLLBACK;