From: Yamil Suarez Date: Mon, 17 Aug 2015 20:47:34 +0000 (-0400) Subject: Add regression pgTAP test for lp1465830 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=beccb14cbba9774d5e12348a522e624321271d41;p=working%2FEvergreen.git Add regression pgTAP test for lp1465830 Signed-off-by: Yamil Suarez --- diff --git a/Open-ILS/src/sql/Pg/t/regress/lp1465830_fix_auth_data_propagation_deletes.pg b/Open-ILS/src/sql/Pg/t/regress/lp1465830_fix_auth_data_propagation_deletes.pg new file mode 100644 index 0000000000..3f44c332d5 --- /dev/null +++ b/Open-ILS/src/sql/Pg/t/regress/lp1465830_fix_auth_data_propagation_deletes.pg @@ -0,0 +1,22 @@ +-- Load the TAP functions. +BEGIN; + +-- Plan the tests. +SELECT plan(2); + +-- Run the tests. +SELECT is( + (SELECT sf_list FROM authority.control_set_authority_field WHERE tag = '100') , + 'abcdfklmnopqrstvxyz', + 'verify that subfield "e" has been removed' +); + +SELECT is( + (SELECT sf_list FROM authority.control_set_authority_field WHERE tag = '110') , + 'abcdfgklmnoprstvxyz', + 'verify that subfield "e" has been removed' +); + +-- Finish the tests and clean up. +SELECT * FROM finish(); +ROLLBACK; \ No newline at end of file