test: automate overseas wallet and pallet cost closure
This commit is contained in:
@@ -18,11 +18,21 @@ test('phase-four HTTP acceptance modules are registered in the Admin acceptance
|
||||
'phase4-overseas-business',
|
||||
'phase4-overseas-master-data',
|
||||
'phase4-carrier-nodes',
|
||||
'phase4-overseas-wallet-and-pallet-cost',
|
||||
]) {
|
||||
assert.match(source, new RegExp(`CONFIGURED_MODULES\\s*=\\s*\\[[^\\]]*'${module}'`, 's'))
|
||||
}
|
||||
})
|
||||
|
||||
test('wallet and destuff cost closure expands the fresh merchant and completed overseas PDA chain', () => {
|
||||
const modules = parseArguments(['--modules', 'phase4-overseas-wallet-and-pallet-cost']).modules
|
||||
for (const prerequisite of ['merchant-qualification-fixture', 'phase3-loading-finalize',
|
||||
'phase4-overseas-pda', 'phase4-overseas-pda-operations', 'phase4-overseas-business']) {
|
||||
assert.ok(modules.indexOf(prerequisite) >= 0
|
||||
&& modules.indexOf(prerequisite) < modules.indexOf('phase4-overseas-wallet-and-pallet-cost'))
|
||||
}
|
||||
})
|
||||
|
||||
test('overseas inbound commands, client services and dispatch follow completed PDA receiving', () => {
|
||||
for (const consumer of ['phase4-overseas-inbound-operations', 'phase4-overseas-client-services',
|
||||
'phase4-overseas-dispatch']) {
|
||||
|
||||
Reference in New Issue
Block a user