【同步】BOOT 和 CLOUD 的功能(所有)

This commit is contained in:
YunaiV
2025-01-24 20:55:43 +08:00
parent 554ee6f02b
commit b012b2ce71
27 changed files with 223 additions and 100 deletions

View File

@@ -297,7 +297,8 @@ public class AdminAuthServiceImplTest extends BaseDbUnitTest {
@Test
public void testValidateCaptcha_constraintViolationException() {
// 准备参数
AuthLoginReqVO reqVO = randomPojo(AuthLoginReqVO.class).setCaptchaVerification(null);
AuthLoginReqVO reqVO = randomPojo(AuthLoginReqVO.class);
reqVO.setCaptchaVerification(null);
// mock 验证码打开
ReflectUtil.setFieldValue(authService, "captchaEnable", true);