From: Kathy Lussier Date: Tue, 21 Feb 2017 19:51:32 +0000 (-0500) Subject: LP#1665626: Update metarecord_constituent_result_reroute.pg test X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=02a62c2df949780e401f0d79940f407aceb9f105;p=evergreen%2Fpines.git 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 Signed-off-by: Ben Shum --- 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;