package com.aircraft;

//import com.aircraft.modules.system.domain.FmsAcAircraftDevice;
//import com.aircraft.modules.system.service.FmsAcAircraftDeviceService;
import com.aircraft.modules.quartz.task.OrderTask;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;

import javax.annotation.Resource;

@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@ActiveProfiles("dev")
public class EladminSystemApplicationTests {


    @Test
    public void contextLoads() {

    }

    public static void main(String[] args) {
    }

    @Resource
    private OrderTask orderTask;

    /**
     * 测试自动完成订单定时任务
     */
    @Test
    public void orderAutoFinishTask() {
        orderTask.orderAutoFinishTask(1);
    }
}

