diff --git a/backend/src/test/java/org/eclipse/tractusx/puris/backend/stock/controller/StockViewControllerTest.java b/backend/src/test/java/org/eclipse/tractusx/puris/backend/stock/controller/StockViewControllerTest.java index 57a281b6..7733dcc4 100644 --- a/backend/src/test/java/org/eclipse/tractusx/puris/backend/stock/controller/StockViewControllerTest.java +++ b/backend/src/test/java/org/eclipse/tractusx/puris/backend/stock/controller/StockViewControllerTest.java @@ -30,10 +30,7 @@ import org.eclipse.tractusx.puris.backend.masterdata.logic.service.MaterialService; import org.eclipse.tractusx.puris.backend.masterdata.logic.service.PartnerService; import org.eclipse.tractusx.puris.backend.stock.logic.dto.FrontendMaterialDto; -import org.eclipse.tractusx.puris.backend.stock.logic.service.MaterialStockService; -import org.eclipse.tractusx.puris.backend.stock.logic.service.PartnerProductStockService; -import org.eclipse.tractusx.puris.backend.stock.logic.service.ProductStockRequestApiService; -import org.eclipse.tractusx.puris.backend.stock.logic.service.ProductStockService; +import org.eclipse.tractusx.puris.backend.stock.logic.service.*; import org.junit.jupiter.api.Test; import org.modelmapper.ModelMapper; import org.springframework.beans.factory.annotation.Autowired; @@ -66,6 +63,9 @@ class StockViewControllerTest { @MockBean private ProductStockService productStockService; + @MockBean + private ProductItemStockService productItemStockService; + @MockBean private MaterialStockService materialStockService; diff --git a/frontend/src/views/StockView.vue b/frontend/src/views/StockView.vue index 02ef8f43..f75e9ca6 100644 --- a/frontend/src/views/StockView.vue +++ b/frontend/src/views/StockView.vue @@ -19,18 +19,18 @@ SPDX-License-Identifier: Apache-2.0 -->