fix: restore phase five development acceptance chain
This commit is contained in:
@@ -225,7 +225,7 @@ export async function run(context, matrix = context.createdResources.manualState
|
||||
}
|
||||
matrix.pages ||= {}
|
||||
const loginResponse = await context.request('POST', '/api/auth/login',
|
||||
{ username: MERCHANT_USERNAME, password: MERCHANT_PASSWORD }, '')
|
||||
{ loginId: MERCHANT_USERNAME, password: MERCHANT_PASSWORD }, '')
|
||||
const token = context.apiSuccess(MODULE, 'IT 测试客户管理员登录', loginResponse)?.accessToken
|
||||
if (!token) throw new Error('客户管理员登录未返回 accessToken')
|
||||
const fixture = await loadFixtureInputs(context, token)
|
||||
|
||||
Reference in New Issue
Block a user