Skip to content

Commit

Permalink
- Added storageUnitUsage to the DataExportRepositoryIT to catch null …
Browse files Browse the repository at this point in the history
…case as relationship data (Should cause test failure)
  • Loading branch information
brandonandre committed Aug 27, 2024
1 parent d92f129 commit 9fe9119
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ public void testESDatasource() throws IOException {
.query(query)
.columns(List.of("id", "materialSampleName", "collectingEvent.dwcVerbatimLocality",
"dwcCatalogNumber", "dwcOtherCatalogNumbers", "managedAttributes.attribute_1",
"collectingEvent.managedAttributes.attribute_ce_1", "projects.name"))
"collectingEvent.managedAttributes.attribute_ce_1", "projects.name",
"storageUnitUsage.storageUnitName"))
.build());
assertNotNull(dto.getUuid());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public class JsonApiDocuments {
}
]
},
"storageUnit" : {
"storageUnitUsage" : {
"data" : null
}
}
Expand Down

0 comments on commit 9fe9119

Please sign in to comment.