RED-10260: add quote char to component mapping
This commit is contained in:
parent
d26d24271a
commit
f86c925835
@ -100,8 +100,8 @@ public class ComponentMappingTest extends AbstractPersistenceServerServiceTest {
|
||||
"application/csv",
|
||||
IOUtils.toByteArray(new ClassPathResource("files/componentmapping/empty.csv").getInputStream()));
|
||||
|
||||
var result = assertThrows(FeignException.class,
|
||||
() -> dossierTemplateExternalClient.uploadMapping(dossierTemplate.getId(), mockMultipartFile, "file", "UTF-8", ",", "\""));
|
||||
String id = dossierTemplate.getId();
|
||||
var result = assertThrows(FeignException.class, () -> dossierTemplateExternalClient.uploadMapping(id, mockMultipartFile, "file", "UTF-8", ",", "\""));
|
||||
assertTrue(result.getMessage().contains("CSV file can not be empty!"));
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user