Commit d2ba90db5d7c5e8f93291ea094d42224d7cad8fa

Authored by YunaiV
1 parent b27964b4

修复单元测试报错

README.md
... ... @@ -259,7 +259,7 @@ ps:核心功能已经实现,正在对接微信小程序中...
259 259 | [Hibernate Validator](https://github.com/hibernate/hibernate-validator) | 参数校验组件 | 6.2.5 | [文档](http://www.iocoder.cn/Spring-Boot/Validation/?yudao) |
260 260 | [Flowable](https://github.com/flowable/flowable-engine) | 工作流引擎 | 6.8.0 | [文档](https://doc.iocoder.cn/bpm/) |
261 261 | [Quartz](https://github.com/quartz-scheduler) | 任务调度组件 | 2.3.2 | [文档](http://www.iocoder.cn/Spring-Boot/Job/?yudao) |
262   -| [Springdoc](https://springdoc.org/) | Swagger 文档 | 1.6.15 | [文档](http://www.iocoder.cn/Spring-Boot/Swagger/?yudao) |
  262 +| [Springdoc](https://springdoc.org/) | Swagger 文档 | 1.6.15 | [文档](http://www.iocoder.cn/Spring-Boot/Swagger/?yudao) |
263 263 | [Resilience4j](https://github.com/resilience4j/resilience4j) | 服务保障组件 | 1.7.1 | [文档](http://www.iocoder.cn/Spring-Boot/Resilience4j/?yudao) |
264 264 | [SkyWalking](https://skywalking.apache.org/) | 分布式应用追踪系统 | 8.12.0 | [文档](http://www.iocoder.cn/Spring-Boot/SkyWalking/?yudao) |
265 265 | [Spring Boot Admin](https://github.com/codecentric/spring-boot-admin) | Spring Boot 监控平台 | 2.7.10 | [文档](http://www.iocoder.cn/Spring-Boot/Admin/?yudao) |
... ...
yudao-framework/yudao-spring-boot-starter-biz-ip/pom.xml
... ... @@ -20,10 +20,6 @@
20 20 </description>
21 21 <url>https://github.com/YunaiV/ruoyi-vue-pro</url>
22 22  
23   - <properties>
24   - <ip2region.version>2.6.6</ip2region.version>
25   - </properties>
26   -
27 23 <dependencies>
28 24 <dependency>
29 25 <groupId>cn.iocoder.boot</groupId>
... ...
yudao-module-system/yudao-module-system-biz/src/test/java/cn/iocoder/yudao/module/system/service/sms/SmsSendServiceImplTest.java
... ... @@ -256,6 +256,7 @@ public class SmsSendServiceImplTest extends BaseMockitoUnitTest {
256 256 when(smsClientFactory.getSmsClient(eq(message.getChannelId()))).thenReturn(smsClient);
257 257 // mock SmsClient 的方法
258 258 SmsCommonResult<SmsSendRespDTO> sendResult = randomPojo(SmsCommonResult.class, SmsSendRespDTO.class);
  259 + sendResult.setData(randomPojo(SmsSendRespDTO.class));
259 260 when(smsClient.sendSms(eq(message.getLogId()), eq(message.getMobile()), eq(message.getApiTemplateId()),
260 261 eq(message.getTemplateParams()))).thenReturn(sendResult);
261 262  
... ...