test: align full acceptance contracts
This commit is contained in:
@@ -46,7 +46,8 @@ test('writes carry marker idempotency and include replay and stale-version confl
|
||||
assert.match(source, /错误 sourceVersion 调整产生并发版本冲突/)
|
||||
})
|
||||
|
||||
test('uses existing ACTIVE Warehouse supplier and never creates one', () => {
|
||||
assert.match(source, /\/api\/platform\/v1\/suppliers\?page=1&size=200&status=ACTIVE&category=BOOKING/)
|
||||
test('uses the fee item supplier category to select an existing ACTIVE supplier and never creates one', () => {
|
||||
assert.match(source, /\/api\/platform\/v1\/suppliers\?page=1&size=200&status=ACTIVE\$\{suffix\}/)
|
||||
assert.match(source, /const supplier = await loadActiveSupplier\(context, payableItem\?\.supplierCategory \|\| null\)/)
|
||||
assert.doesNotMatch(source, /\/api\/platform\/v1\/partners/)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user