Commit 4a9e9961b0169e57fab5b5d3c294d9849e7d0d41
1 parent
cca592a1
fix:【SYSTEM】AdminUserServiceImplTest 的 testUpdateUserProfile_success 单测报错
Showing
1 changed file
with
1 additions
and
0 deletions
yudao-module-system/yudao-module-system-biz/src/test/java/cn/iocoder/yudao/module/system/service/user/AdminUserServiceImplTest.java
| ... | ... | @@ -212,6 +212,7 @@ public class AdminUserServiceImplTest extends BaseDbUnitTest { |
| 212 | 212 | UserProfileUpdateReqVO reqVO = randomPojo(UserProfileUpdateReqVO.class, o -> { |
| 213 | 213 | o.setMobile(randomString()); |
| 214 | 214 | o.setSex(RandomUtil.randomEle(SexEnum.values()).getSex()); |
| 215 | + o.setAvatar(randomURL()); | |
| 215 | 216 | }); |
| 216 | 217 | |
| 217 | 218 | // 调用 | ... | ... |