fix: 加固日历日期与动态错误合同(09-05-error-explainability-payment-readiness,09-08-reimbursement-payment-closeout)
这个提交包含在:
@@ -229,6 +229,12 @@ describe("auth login route", () => {
|
||||
headers: { "x-device-fingerprint": "synthetic-input-validation" } });
|
||||
expect(response.statusCode).toBe(400);
|
||||
expect(response.json().error.details.reasonCode).toBe(`auth.${reason}`);
|
||||
if (reason === "password_policy_failed") {
|
||||
expect(response.json().error.details.password).toEqual(expect.arrayContaining([
|
||||
"密码必须包含大写字母", "密码必须包含数字",
|
||||
]));
|
||||
expect(response.json().error.details.password).not.toContain("密码必须包含小写字母");
|
||||
}
|
||||
expect(state.employeeUpdate).not.toHaveBeenCalled();
|
||||
expect(state.authSessionCreate).not.toHaveBeenCalled();
|
||||
expect(state.emailLoginCodeCreate).not.toHaveBeenCalled();
|
||||
|
||||
在新工单中引用
屏蔽一个用户