test: stabilize phase5 acceptance inventory fixture

This commit is contained in:
2026-09-03 16:20:17 +08:00
parent a66ecfab98
commit 5c524fb92c
2 changed files with 7 additions and 6 deletions
@@ -90,12 +90,12 @@ test('phase-four producer variants restore the primary orchestration fixture aft
]) assert.match(createdKeys, new RegExp(`'${key}'`))
})
test('every cross-region producer keeps an isolated A0 occupancy for PDA snapshot invalidation', async () => {
test('cross-region producers do not repeat the destructive A0 snapshot mutation', async () => {
const source = await import('node:fs/promises').then((fs) => fs.readFile(
new URL('../admin-test-env-acceptance.mjs', import.meta.url), 'utf8'))
const variantStart = source.indexOf('async runPhase4ProducerVariant')
const fixtureCall = source.slice(variantStart, source.indexOf('const loading =', variantStart))
assert.match(fixtureCall, /preparePhase3LoadingFixture\('', true\)/)
assert.match(fixtureCall, /preparePhase3LoadingFixture\('', false\)/)
})
test('contract covers dual audience, canonical 403, both event directions and diagnostics', () => {