From 220f301453c05f27ff6304cf0a2a313de0471af8 Mon Sep 17 00:00:00 2001 From: justin Date: Tue, 9 Jun 2026 14:35:04 -0500 Subject: [PATCH] test(e2e): fix compliance_orders seed columns (no total_cents); regression PASS e2e-paypal-portal-fix.mjs now passes against live prod: completing a compliance order creates the customers row (id, name=E2E Tester, company from intake_data, no password) -> customer can register/reset + log in. PayPal login bug fixed. --- scripts/e2e-paypal-portal-fix.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/e2e-paypal-portal-fix.mjs b/scripts/e2e-paypal-portal-fix.mjs index 4399f96..6a0b845 100644 --- a/scripts/e2e-paypal-portal-fix.mjs +++ b/scripts/e2e-paypal-portal-fix.mjs @@ -25,9 +25,9 @@ try { await pool.query( `INSERT INTO compliance_orders (order_number, service_slug, service_name, customer_name, customer_email, - payment_method, payment_status, total_cents, service_fee_cents, intake_data) + payment_method, payment_status, service_fee_cents, intake_data) VALUES ($1,'dot-drug-alcohol','DOT Drug & Alcohol Compliance Program', - 'E2E Tester','${EMAIL}','paypal','pending_payment',14900,14900, + 'E2E Tester','${EMAIL}','paypal','pending_payment',14900, '{"company":"E2E Co"}'::jsonb)`, [ORDER], );