优化
This commit is contained in:
@@ -66,10 +66,10 @@ test('domestic and overseas PDA operators use isolated authorities', () => {
|
||||
assert.match(iamSql, /permission\.permission_code='lastleg:pda:operate'/)
|
||||
})
|
||||
|
||||
test('unified migration creates the phase-four role matrix in the IAM schema used by its assertion routine', () => {
|
||||
test('unified baseline creates the phase-four role matrix in the IAM schema', () => {
|
||||
assert.match(
|
||||
unifiedSql,
|
||||
/USE baiyue_iam;[\s\S]*?DROP TEMPORARY TABLE IF EXISTS tmp_phase4_warehouse_role_permission;\s*CREATE TEMPORARY TABLE tmp_phase4_warehouse_role_permission/,
|
||||
/USE baiyue_iam;[\s\S]*?'OVERSEAS_WAREHOUSE_PDA_OPERATOR'[\s\S]*?'lastleg:pda:operate'/,
|
||||
)
|
||||
assert.match(unifiedSql, /CREATE PROCEDURE assert_phase4_warehouse_role_minimum\(\)/)
|
||||
assert.doesNotMatch(unifiedSql, /tmp_phase4_warehouse_role_permission|assert_phase4_warehouse_role_minimum/)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user