diff --git a/backend/src/test/java/org/eclipse/tractusx/puris/backend/stock/logic/adapter/ItemStockSammMapperTest.java b/backend/src/test/java/org/eclipse/tractusx/puris/backend/stock/logic/adapter/ItemStockSammMapperTest.java index 8b1fefed..ab1066de 100644 --- a/backend/src/test/java/org/eclipse/tractusx/puris/backend/stock/logic/adapter/ItemStockSammMapperTest.java +++ b/backend/src/test/java/org/eclipse/tractusx/puris/backend/stock/logic/adapter/ItemStockSammMapperTest.java @@ -391,7 +391,8 @@ void test_unmarshalling() { mpr.setPartnerBuysMaterial(true); mpr.setPartnerMaterialNumber(CUSTOMER_MAT_NUMBER); mpr.setPartnerCXNumber(CX_MAT_NUMBER); - + +// when(mprService.findByPartnerAndPartnerCXNumber(customerPartner, CX_MAT_NUMBER)).thenReturn(mpr); when(materialService.findByMaterialNumberCx(CX_MAT_NUMBER)).thenReturn(material); when(mprService.find(material, customerPartner)).thenReturn(mpr); @@ -424,7 +425,7 @@ void test_deserializationFromJson() throws Exception { mpr.setPartnerBuysMaterial(true); mpr.setPartnerMaterialNumber(SUPPLIER_MAT_NUMBER); mpr.setPartnerCXNumber(CX_MAT_NUMBER); - + when(materialService.findByMaterialNumberCx(CX_MAT_NUMBER)).thenReturn(material); when(mprService.find(material, customerPartner)).thenReturn(mpr);