Correction du Test MixServiceTest.SaveDto.`calls and returns save() with the created entity`()
This commit is contained in:
parent
1c6d33cc61
commit
1f6ceff752
|
@ -68,7 +68,7 @@ class MixServiceTest : AbstractExternalModelServiceTest<Mix, MixSaveDto, MixUpda
|
|||
verify(recipeService).addMix(recipe, mix)
|
||||
|
||||
// Verify if this method is called instead of the MixType's constructor, which does not check if the name is already taken by a material.
|
||||
verify(mixTypeService.createForNameAndMaterialType(mixType.name, mixType.material.materialType!!))
|
||||
verify(mixTypeService).createForNameAndMaterialType(mixType.name, mixType.material.materialType!!)
|
||||
|
||||
assertEquals(mixWithMaterials, found)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue