This commit is contained in:
2026-10-22 11:56:47 +08:00
parent 5d71af1ac9
commit de96e47d74
71 changed files with 1296 additions and 332 deletions
@@ -15,7 +15,7 @@ test('manual PDA batch modules are optional and require a source report', () =>
for (const module of ['manual-pda-batch-fixture', 'manual-pda-batch-verify']) {
const options = parseArguments(['--gateway', 'http://127.0.0.1:9000', '--username', 'admin',
'--password', 'password-value', '--modules', module, '--manual-pda-batch-source-report', 'source.json'])
assert.deepEqual(options.modules, [module])
assert.deepEqual(options.modules, ['merchant-qualification-fixture', module])
assert.equal(validateExecutionOptions(options), options)
assert.throws(() => validateExecutionOptions({ ...options, manualPdaBatchSourceReport: '' }),
/manual-pda-batch-source-report/)