fix overseas PDA producer fixture selection

This commit is contained in:
2026-09-23 19:48:03 +08:00
parent 9c91bc0faa
commit f3755b1348
5 changed files with 16 additions and 20 deletions
@@ -129,6 +129,8 @@ test('only PDA-operated variants traverse real outbound and carrier nodes before
const entry = read('../admin-test-env-acceptance.mjs')
assert.match(entry, /runPhase4ProducerVariant\('OVERSEAS-PRIMARY', 'OVERSEAS', 'ONE_CLICK_DROPSHIP', true\)/)
assert.match(entry, /runPhase4ProducerVariant\('FBA-STANDARD', 'FBA', 'STANDARD', true\)/)
assert.match(entry, /runPhase4ProducerVariant\('FBA-SECOND', 'FBA', 'STANDARD', true\)/)
assert.match(entry, /secondStandardFbaReady\?\.shippingReady === true/)
assert.match(entry, /runPhase4ProducerVariant\('SECONDARY', 'FBA', 'STANDARD', false\)/)
assert.match(entry, /const hasSecondaryProducer =/)
assert.match(entry, /if \(!hasSecondaryProducer\(\)\)/)