import co.yixiang.yshop.module.distributor.api.dto.DistributorOrderDTO;
import co.yixiang.yshop.module.distributor.controller.admin.distributordynamics.vo.DistributorDynamicsCreateReqVO;
import co.yixiang.yshop.module.order.service.storeorder.AppDistributorOrderFacadeImpl;
import org.junit.jupiter.api.Test;
import org.springframework.context.annotation.Import;

import javax.annotation.Resource;

import static co.yixiang.yshop.framework.test.core.util.RandomUtils.randomPojo;

@Import(AppDistributorOrderFacadeImpl.class)
public class DistrTest {

    @Resource
    private AppDistributorOrderFacadeImpl appDistributorOrderFacade;

    @Test
    public void testCreateOrder() {

        appDistributorOrderFacade.createDistributorOrder(new DistributorOrderDTO().setOid(91L).setDistributorId(1L).setUserId(17L));
    }
}
