Skip to content

Commit

Permalink
fix: minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
eschrewe committed Apr 2, 2024
1 parent 220b181 commit b693ba4
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit b693ba4

Please sign in to comment.