LP1858448 Aged money pgtap test repair
authorBill Erickson <berickxx@gmail.com>
Wed, 29 Apr 2020 14:14:34 +0000 (10:14 -0400)
committerJason Stephenson <jason@sigio.com>
Wed, 29 Apr 2020 17:48:13 +0000 (13:48 -0400)
Enable the "age money with circulations" setting in the original aged
money pgtap test so the aged money it seeks may be created and found.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/src/sql/Pg/live_t/lp1793802-aged-billings-payments.pg

index cce5ce1..dc30230 100644 (file)
@@ -1,6 +1,10 @@
 -- Load the TAP functions.
 BEGIN;
 
+-- Activate "age money with circs" setting.
+UPDATE config.global_flag SET enabled = TRUE
+    WHERE name = 'history.money.age_with_circs';
+
 -- Plan the tests.
 SELECT plan(8);