Correction du Test MixServiceTest.SaveDto.`calls and returns save() with the created entity`()

This commit is contained in:
FyloZ 2021-02-14 11:57:43 -05:00
parent 1c6d33cc61
commit 1f6ceff752
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}