package com.tuoheng.admin.tzhl;

import com.tuoheng.admin.tzhl.service.airport.TZHLGetAirportListService;
import com.tuoheng.admin.tzhl.service.airportline.TZHLGetAirportLineListService;
import com.tuoheng.common.core.utils.JsonResult;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * @Author ChengWang
 * @Date 2023/8/9
 */
@Slf4j
@RunWith(SpringRunner.class)
@SpringBootTest
public class TZHLGetAirportLineListServiceTest {

    @Autowired
    private TZHLGetAirportLineListService tzhlGetAirportLineListService;

    @Test
    public void testGetAirportLineListTest() {
        String name = null;
        String sn =  "4TADKCC0010018";
        String lineType = null;
        Long id = null;
        JsonResult result = tzhlGetAirportLineListService.getAirportLine(name,sn,id,lineType);
        System.out.println("data值为" + result.getData());
    }

    @Test
    public void testGetAirportLineTest() {
        tzhlGetAirportLineListService.getAirportLineById(19L);
    }

}
