From: Rogan Hamby Date: Mon, 25 Apr 2016 19:46:23 +0000 (-0400) Subject: adding pg_tap test to check for presence of new postal_code table X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Frogan%2Flp1365073_postal_codes_in_db;p=working%2FEvergreen.git adding pg_tap test to check for presence of new postal_code table Signed-off-by: Rogan Hamby --- diff --git a/Open-ILS/src/sql/Pg/t/lp1365073_postal_codes.pg b/Open-ILS/src/sql/Pg/t/lp1365073_postal_codes.pg new file mode 100644 index 0000000000..e8adf47090 --- /dev/null +++ b/Open-ILS/src/sql/Pg/t/lp1365073_postal_codes.pg @@ -0,0 +1,16 @@ +-- Load the TAP functions. +BEGIN; + +-- Plan the tests. +SELECT plan(1); + +-- Run the tests. +-- make sure at least one column does exist +SELECT has_table('config', 'postal_codes', + 'Table "config.postal_codes" should exist'); + +-- Finish the tests and clean up. +SELECT * FROM finish(); +ROLLBACK; + +