From 2f734a63b5e6c33faffb3c468f20f23dcb495d25 Mon Sep 17 00:00:00 2001 From: Kathy Lussier Date: Tue, 21 Feb 2017 14:51:32 -0500 Subject: [PATCH] LP#1665626: Update metarecord_constituent_result_reroute.pg test Updating metarecord PgTAP test so that it points to an existing metarecord group in the test data. Signed-off-by: Kathy Lussier --- .../regress/lp1629108_metarecord_constituent_result_reroute.pg | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Open-ILS/src/sql/Pg/t/regress/lp1629108_metarecord_constituent_result_reroute.pg b/Open-ILS/src/sql/Pg/t/regress/lp1629108_metarecord_constituent_result_reroute.pg index 2a868753ca..6e2fa3dd82 100755 --- a/Open-ILS/src/sql/Pg/t/regress/lp1629108_metarecord_constituent_result_reroute.pg +++ b/Open-ILS/src/sql/Pg/t/regress/lp1629108_metarecord_constituent_result_reroute.pg @@ -114,18 +114,18 @@ $F$ LANGUAGE SQL STABLE; -- Now make sure that the a query against it doesn't break PREPARE thrower AS select mmr_mra::varchar from unapi.mmr_mra -(15,'','',null::text[],'CONS',0,null::HSTORE,null::HSTORE,true,1); +(240,'','',null::text[],'CONS',0,null::HSTORE,null::HSTORE,true,1); SELECT performs_ok( 'thrower',250,'Generic check for unapi.mmr_mra breakage' ); -- Make sure that the function returns the new XML property source_list SELECT is( ( -select mmr_mra::varchar ~ 'source_list="15,16,17"' from unapi.mmr_mra -(15,'','',null::text[],'CONS',0,null::HSTORE,null::HSTORE,true,1) -), true, 'unapi.mmr_mra results have source_list="15,16,17sfaf"' ); +select mmr_mra::varchar ~ 'source_list="242,243,244"' from unapi.mmr_mra +(240,'','',null::text[],'CONS',0,null::HSTORE,null::HSTORE,true,1) +), true, 'unapi.mmr_mra results have source_list="242,243,244sfaf"' ); -- Finish the tests and clean up. SELECT * FROM finish(); -ROLLBACK; \ No newline at end of file +ROLLBACK; -- 2.11.0