test: verify pallet block settlement over HTTP

This commit is contained in:
2026-09-04 13:48:03 +08:00
parent 660e284e25
commit 7feb80689b
6 changed files with 110 additions and 155 deletions
@@ -4,11 +4,6 @@ import test from 'node:test'
const source = readFileSync(new URL('./supplemental-boundaries.mjs', import.meta.url), 'utf8')
test('occupied location deletion protection reuses only the marker-owned loading fixture', () => {
assert.match(source, /phase3Loading/)
assert.match(source, /inventoryMutationCleanup\?\.targetLocationId/)
assert.match(source, /loading\?\.marker === context\.marker/)
assert.match(source, /真实占用库位删除返回A0409且保留资源/)
assert.match(source, /占用删除冲突未造成资源丢失/)
assert.doesNotMatch(source, /no-public-fixture-api|当前公共验收 API 未提供/)
test('supplemental boundaries do not mutate PDA block locations through retired occupancy APIs', () => {
assert.doesNotMatch(source, /inventoryMutationCleanup|temporary-occupancies|occupancyId|\/rebind/)
})