From beccb14cbba9774d5e12348a522e624321271d41 Mon Sep 17 00:00:00 2001 From: Yamil Suarez Date: Mon, 17 Aug 2015 16:47:34 -0400 Subject: [PATCH] Add regression pgTAP test for lp1465830 Signed-off-by: Yamil Suarez --- .../lp1465830_fix_auth_data_propagation_deletes.pg | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Open-ILS/src/sql/Pg/t/regress/lp1465830_fix_auth_data_propagation_deletes.pg 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 -- 2.11.0