Skip to content

Commit

Permalink
Updated VersioningWithRelationshipsTest - updated adding dc.relation …
Browse files Browse the repository at this point in the history
…metadata.
  • Loading branch information
milanmajchrak committed Sep 20, 2023
1 parent 0e2a386 commit 8bb7283
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
3 changes: 0 additions & 3 deletions dspace-api/src/test/data/dspaceFolder/config/local.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,4 @@ lr.pid.community.configurations = community=47501cdc-e2eb-44e5-85e0-89a31dc8ceee
lr.pid.community.configurations = community=*, prefix=123456789, type=local, canonical_prefix=http://hdl.handle.net/, subprefix=2

#### Authority configuration `authority.cfg`
choices.plugin.dc.relation = OpenAIRE
choices.presentation.dc.relation = suggest
choices.closed.dc.relation = true
authority.controlled.dc.relation = true
Original file line number Diff line number Diff line change
Expand Up @@ -2162,7 +2162,7 @@ public void test_placeRecalculationAfterDelete_complex() throws Exception {
.build();

// metadata - person 3 & project 2
itemService.addMetadata(context, pe3_1, "dc", "relation", null, null, "project 2 (mdv)");
itemService.addMetadata(context, pe3_1, "dc", "relation", null, null, "project 2 (mdv)", "20000", 300);

// relationship - person 1 & project 3
RelationshipBuilder.createRelationshipBuilder(context, pe1_1, pr3_1, isProjectOfPerson)
Expand Down Expand Up @@ -2193,14 +2193,14 @@ public void test_placeRecalculationAfterDelete_complex() throws Exception {
.build();

// metadata - person 3 & project 4
itemService.addMetadata(context, pe3_1, "dc", "relation", null, null, "project 4 (mdv)");
itemService.addMetadata(context, pe3_1, "dc", "relation", null, null, "project 4 (mdv)", "20000", 300);

// relationship - person 3 & project 5
RelationshipBuilder.createRelationshipBuilder(context, pe3_1, pr5_1, isProjectOfPerson)
.build();

// metadata - person 3 & project 6
itemService.addMetadata(context, pe3_1, "dc", "relation", null, null, "project 6 (mdv)");
itemService.addMetadata(context, pe3_1, "dc", "relation", null, null, "project 6 (mdv)", "20000", 300);

// SUMMARY
//
Expand Down
4 changes: 1 addition & 3 deletions dspace/config/clarin-dspace.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,5 @@ themed.by.company.name = dataquest s.r.o.


#### Authority configuration `authority.cfg`
choices.plugin.dc.relation = OpenAIRE
choices.presentation.dc.relation = suggest
choices.closed.dc.relation = true
## dc.relation authority is configured only because of correct item importing, but it is not used anymore.
authority.controlled.dc.relation = true

0 comments on commit 8bb7283

Please sign in to comment.