mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Fix incorrect/failing test. Entity Type passed in CSV update MUST match entity type of the Item being updated.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user