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.
This commit is contained in:
parent
3c65dd8748
commit
220f301453
1 changed files with 2 additions and 2 deletions
|
|
@ -25,9 +25,9 @@ try {
|
||||||
await pool.query(
|
await pool.query(
|
||||||
`INSERT INTO compliance_orders
|
`INSERT INTO compliance_orders
|
||||||
(order_number, service_slug, service_name, customer_name, customer_email,
|
(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',
|
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)`,
|
'{"company":"E2E Co"}'::jsonb)`,
|
||||||
[ORDER],
|
[ORDER],
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue