diff --git a/dspace-api/src/test/java/org/dspace/orcid/service/OrcidEntityFactoryServiceIT.java b/dspace-api/src/test/java/org/dspace/orcid/service/OrcidEntityFactoryServiceIT.java index 32c7414857b0..4d56bcb9c466 100644 --- a/dspace-api/src/test/java/org/dspace/orcid/service/OrcidEntityFactoryServiceIT.java +++ b/dspace-api/src/test/java/org/dspace/orcid/service/OrcidEntityFactoryServiceIT.java @@ -502,7 +502,7 @@ public void testProductWorkWithFundingEntityWithGrantNumberCreation() { .build(); Item product = ItemBuilder.createItem(context, products) - .withTitle("Test publication") + .withTitle("Test product") .withAuthor("Walter White") .withIssueDate("2021-04-30") .withType("http://purl.org/coar/resource_type/c_18cc") @@ -572,10 +572,10 @@ public void testProductWorkWithFundingEntityWithGrantNumberAndUrlCreation() { .build(); Item product = ItemBuilder.createItem(context, products) - .withTitle("Test publication") + .withTitle("Test product") .withAuthor("Walter White") .withIssueDate("2021-04-30") - .withType("Controlled Vocabulary for Resource Type Genres::text::book") + .withType("http://purl.org/coar/resource_type/c_18cc") .withRelationFunding("Test funding", funding.getID().toString()) .withRelationGrantno("123456") .build(); @@ -646,7 +646,7 @@ public void testEmptyProductWorkWithUnknownTypeCreation() { assertThat(work.getShortDescription(), nullValue()); assertThat(work.getPutCode(), nullValue()); // assertThat(work.getWorkCitation(), notNullValue()); - assertThat(work.getWorkType(), is(WorkType.OTHER)); + assertThat(work.getWorkType(), is(WorkType.DATA_SET)); assertThat(work.getWorkTitle(), nullValue()); assertThat(work.getWorkContributors(), notNullValue()); assertThat(work.getWorkContributors().getContributor(), empty());