package com.test;

import com.jeequan.jeepay.pay.bootstrap.JeepayPayApplication;
import com.jeequan.jeepay.pay.task.SyncMchSettlementTypeTask;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit.jupiter.SpringExtension;

/**
 * TODO
 *
 * @author deng
 * @since 2024/5/6
 */
@Slf4j
@ExtendWith(SpringExtension.class)
@SpringBootTest(classes = JeepayPayApplication.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
public class TaskTest {

    @Autowired
    private SyncMchSettlementTypeTask syncMchSettlementTypeTask;

    @Test
    public void test() {
        syncMchSettlementTypeTask.start();
    }
}
