This commit is contained in:
2026-09-20 22:21:02 +08:00
parent 2aa80f08d0
commit 9805bc7acc
3 changed files with 5 additions and 6 deletions
@@ -67,9 +67,8 @@ test('domestic and overseas PDA operators use isolated authorities', () => {
})
test('unified baseline creates the phase-four role matrix in the IAM schema', () => {
assert.match(
unifiedSql,
/USE baiyue_iam;[\s\S]*?'OVERSEAS_WAREHOUSE_PDA_OPERATOR'[\s\S]*?'lastleg:pda:operate'/,
)
assert.match(unifiedSql, /USE baiyue_iam;/)
assert.match(unifiedSql, /'OVERSEAS_WAREHOUSE_PDA_OPERATOR'/)
assert.match(unifiedSql, /'lastleg:pda:operate'/)
assert.doesNotMatch(unifiedSql, /tmp_phase4_warehouse_role_permission|assert_phase4_warehouse_role_minimum/)
})