【同步】BOOT 和 CLOUD 的功能

This commit is contained in:
YunaiV
2026-06-08 00:14:03 +08:00
parent f5a68ce6f3
commit 0c69bedc34
206 changed files with 559 additions and 543 deletions
@@ -11,10 +11,10 @@ import cn.iocoder.yudao.module.pay.framework.pay.core.client.dto.transfer.PayTra
import cn.iocoder.yudao.module.pay.service.app.PayAppService;
import cn.iocoder.yudao.module.pay.service.channel.PayChannelService;
import cn.iocoder.yudao.module.pay.service.notify.PayNotifyService;
import jakarta.annotation.Resource;
import javax.annotation.Resource;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.context.annotation.Import;
import org.springframework.test.context.bean.override.mockito.MockitoBean;
import static cn.iocoder.yudao.framework.test.core.util.RandomUtils.randomPojo;
import static org.junit.jupiter.api.Assertions.assertEquals;
@@ -33,13 +33,13 @@ public class PayTransferServiceTest extends BaseDbAndRedisUnitTest {
@Resource
private PayTransferMapper transferMapper;
@MockitoBean
@MockBean
private PayProperties payProperties;
@MockitoBean
@MockBean
private PayAppService appService;
@MockitoBean
@MockBean
private PayChannelService channelService;
@MockitoBean
@MockBean
private PayNotifyService notifyService;
@Test