完善计划机位和登机桥联动变更,同时加入基础数据缓存
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
package com.gzzn.omms.msgexchangeapi.basicdata;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
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;
|
||||
|
||||
import com.gzzn.omms.msgexchangeapi.basicdata.entity.OrmsStand;
|
||||
import com.gzzn.omms.msgexchangeapi.basicdata.service.IOrmsStandService;
|
||||
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest
|
||||
public class OrmsStandServiceImplTest {
|
||||
|
||||
@Autowired
|
||||
IOrmsStandService ormsStandService;
|
||||
|
||||
@Test
|
||||
public void testFindAll()
|
||||
{
|
||||
List<OrmsStand> lsOrmsStands = ormsStandService.findAll();
|
||||
assertThat(lsOrmsStands).isNotEmpty();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user