完善 OAuth2OpenControllerTest 单元测试

This commit is contained in:
YunaiV
2022-05-25 23:22:48 +08:00
parent f87c4f75e8
commit 495f121463
6 changed files with 404 additions and 68 deletions

View File

@ -45,7 +45,7 @@ public class RandomUtils {
}
// 如果是 type、status 结尾的字段,返回 tinyint 范围
if (StrUtil.endWithAnyIgnoreCase(attributeMetadata.getAttributeName(),
"type", "status", "category")) {
"type", "status", "category", "scope")) {
return RandomUtil.randomInt(0, TINYINT_MAX + 1);
}
return RandomUtil.randomInt();