From: Galen Charlton <gmc@equinoxOLI.org>
Date: Mon, 27 Sep 2021 13:43:18 +0000 (-0400)
Subject: LP#1928258: update pgTAP regression test
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=70c07897f03238b28f7f6f2b947272fde8cee200;p=evergreen%2Fjoelewis.git

LP#1928258: update pgTAP regression test

Now that update_bib_editor is split out into a separate
merge profile field, need to account for that in the regression
test for 1447746.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
---

diff --git a/Open-ILS/src/sql/Pg/t/regress/lp1447746_update_date_and_source.pg b/Open-ILS/src/sql/Pg/t/regress/lp1447746_update_date_and_source.pg
index 7ffeb3ce25..82c46ad08d 100644
--- a/Open-ILS/src/sql/Pg/t/regress/lp1447746_update_date_and_source.pg
+++ b/Open-ILS/src/sql/Pg/t/regress/lp1447746_update_date_and_source.pg
@@ -23,8 +23,8 @@ UPDATE actor.usr
     SET card = CURRVAL('actor.card_id_seq')
     WHERE id = CURRVAL('actor.usr_id_seq');
 
-INSERT INTO vandelay.merge_profile (owner, name, preserve_spec, update_bib_source)
-    VALUES (1, 'TEST', '901c', TRUE);
+INSERT INTO vandelay.merge_profile (owner, name, preserve_spec, update_bib_source, update_bib_editor)
+    VALUES (1, 'TEST', '901c', TRUE, TRUE);
 
 --XXX: Do we need to create a custom item_attr_def?
 --     If def 1 was deleted from an install, this will break
@@ -85,7 +85,8 @@ SELECT is(
 --------------------------------
 
 UPDATE vandelay.merge_profile
-   SET update_bib_source = FALSE
+   SET update_bib_source = FALSE,
+       update_bib_editor = FALSE
    WHERE name = 'TEST';
 
 INSERT INTO biblio.record_entry (id, source, edit_date, last_xact_id, marc)