From a32f7424685b42d8e305ec0003cca5d208ec91e7 Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Tue, 5 Nov 2013 13:55:02 -0500 Subject: [PATCH 1/1] Only one of these tests was valid, removing the bad one Signed-off-by: Mike Rylander --- .../Pg/live_t/0824.item_import_defaults.pg | 53 +------------------ 1 file changed, 2 insertions(+), 51 deletions(-) diff --git a/Open-ILS/src/sql/Pg/live_t/0824.item_import_defaults.pg b/Open-ILS/src/sql/Pg/live_t/0824.item_import_defaults.pg index 0828c1eb58..3872d2c86d 100644 --- a/Open-ILS/src/sql/Pg/live_t/0824.item_import_defaults.pg +++ b/Open-ILS/src/sql/Pg/live_t/0824.item_import_defaults.pg @@ -15,12 +15,10 @@ -- let's do this thing BEGIN; -SELECT plan(2); +SELECT plan(1); INSERT INTO actor.org_unit_setting (org_unit,name,value) VALUES -(4,'vandelay.item.barcode.auto','true'), -(4,'vandelay.item.circ_modifier.default','"BOOK"'), -(4,'vandelay.item.call_number.auto','true'); +(4,'vandelay.item.circ_modifier.default','"BOOK"'); INSERT INTO vandelay.bib_queue (owner,name,item_attr_def) VALUES ( @@ -29,46 +27,6 @@ VALUES ( (SELECT id FROM vandelay.import_item_attr_definition WHERE name = 'Evergreen 852 export format') -- Hope the schema is stock... ); -INSERT INTO vandelay.queued_bib_record (marc,queue) -VALUES ( - $$ -00663ncm a2200229Ia 4500 -ocm2061267120090604115400.0 -891108s1989 mnupp i n eng d -HL00361126 :$14.95 -TULTULUtOrBLW -MRQA -782.421630264S6986 1989 -Songs of the 60's :piano, vocal, guitar. -Winona, MN :H. Leonard,c1989. -1 score (175 p.) :ill. ;31 cm. -Decade series -With a preface by Stanley Green. -Popular music1961-1970 -Songs of the sixties. -DE (Series) -StacksBR1CN-labelBR1BC1234567890Available -*SOT60S99000 -$$, - CURRVAL('vandelay.queue_id_seq') -); - -/* -SELECT * FROM vandelay.ingest_items( - CURRVAL('vandelay.queued_record_id_seq'), - (SELECT item_attr_def FROM vandelay.bib_queue WHERE id = CURRVAL('vandelay.queue_id_seq')) -); -*/ - -SELECT isnt_empty( - $$SELECT * FROM vandelay.ingest_items( - CURRVAL('vandelay.queued_record_id_seq'), - (SELECT item_attr_def FROM vandelay.bib_queue WHERE id = CURRVAL('vandelay.queue_id_seq')) - ) WHERE circ_modifier = 'BOOK' AND barcode = 'BC1234567890';$$, - 'Should have a row with barcode BC1234567890 and auto-circ mod of BOOK' -); - - INSERT INTO vandelay.queued_bib_record (marc,queue) VALUES ( $$ @@ -93,13 +51,6 @@ VALUES ( CURRVAL('vandelay.queue_id_seq') ); -/* -SELECT * FROM vandelay.ingest_items( - CURRVAL('vandelay.queued_record_id_seq'), - (SELECT item_attr_def FROM vandelay.bib_queue WHERE id = CURRVAL('vandelay.queue_id_seq')) -); -*/ - SELECT isnt_empty( $$SELECT * FROM vandelay.ingest_items( CURRVAL('vandelay.queued_record_id_seq'), -- 2.43.2