屏蔽不需要的注入
This commit is contained in:
parent
0710879d79
commit
682bc52c77
@ -1,6 +1,5 @@
|
|||||||
import com.alibaba.fastjson.JSON;
|
import com.alibaba.fastjson.JSON;
|
||||||
import com.ktg.RuoYiApplication;
|
import com.ktg.RuoYiApplication;
|
||||||
import com.ktg.mes.wm.controller.WmWarehouseController;
|
|
||||||
import com.ktg.mes.wm.domain.WmWarehouse;
|
import com.ktg.mes.wm.domain.WmWarehouse;
|
||||||
import com.ktg.mes.wm.service.IWmWarehouseService;
|
import com.ktg.mes.wm.service.IWmWarehouseService;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
@ -14,9 +13,6 @@ import java.util.List;
|
|||||||
@RunWith(SpringRunner.class)
|
@RunWith(SpringRunner.class)
|
||||||
@SpringBootTest(classes = RuoYiApplication.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
|
@SpringBootTest(classes = RuoYiApplication.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
|
||||||
public class WmWarehouseUnitTest {
|
public class WmWarehouseUnitTest {
|
||||||
@Autowired
|
|
||||||
private WmWarehouseController wmWarehouseController = null;
|
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private IWmWarehouseService wmWarehouseService;
|
private IWmWarehouseService wmWarehouseService;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user