屏蔽不需要的注入

This commit is contained in:
刘名喜 2024-11-06 15:30:59 +08:00
parent 0710879d79
commit 682bc52c77

View File

@ -1,6 +1,5 @@
import com.alibaba.fastjson.JSON;
import com.ktg.RuoYiApplication;
import com.ktg.mes.wm.controller.WmWarehouseController;
import com.ktg.mes.wm.domain.WmWarehouse;
import com.ktg.mes.wm.service.IWmWarehouseService;
import org.junit.Test;
@ -14,9 +13,6 @@ import java.util.List;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = RuoYiApplication.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
public class WmWarehouseUnitTest {
@Autowired
private WmWarehouseController wmWarehouseController = null;
@Autowired
private IWmWarehouseService wmWarehouseService;