3 -- Turn off echo and keep things quiet.
\r
5 -- Format the output for nice TAP.
\r
6 \pset format unaligned
\r
7 \pset tuples_only true
\r
10 -- Revert all changes on failure.
\r
11 \set ON_ERROR_ROLLBACK 1
\r
12 \set ON_ERROR_STOP true
\r
14 -- Load the TAP functions.
\r
22 'SELECT * FROM action_trigger.hook WHERE key = $$stgu.created$$',
\r
23 'A/T Hook stgu.created exists'
\r
27 'SELECT * FROM action_trigger.event_definition WHERE owner=1 AND name = $$Patron Registered for a card stgu.created$$',
\r
28 'Default consortium ATED for stgu.created exists'
\r
32 -- Finish the tests and clean up.
\r
33 SELECT * FROM finish();
\r