Fix incorrect/failing test. Entity Type passed in CSV update MUST match entity type of the Item being updated.

This commit is contained in:
Tim Donohue
2021-03-12 11:50:02 -06:00
parent 9bf9c3037f
commit cdb59db8f5

View File

@@ -201,7 +201,7 @@ public class CsvImportIT extends AbstractEntityIntegrationTest {
Collection owningCollection, String title)
throws Exception {
String csvLineString = article2.getID().toString() + "," + owningCollection
.getHandle() + "," + title + "," + "Person" + "," + author1.getID().toString() + "||" + author3.getID()
.getHandle() + "," + title + "," + "Publication" + "," + author1.getID().toString() + "||" + author3.getID()
.toString();
String[] csv = {"id,collection,dc.title,dspace.entity.type,relation." + "isAuthorOfPublication", csvLineString};
performImportScript(csv);