Skip to content

Commit

Permalink
Add back in accidentally deleted line
Browse files Browse the repository at this point in the history
  • Loading branch information
bbpennel committed Feb 19, 2024
1 parent e44563e commit ab00fc9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ public void ingestWorkObjectWithModsHistoryTest() throws Exception {
Resource historyResc = DepositModelHelpers.addDatastream(workBag, DatastreamType.MD_DESCRIPTIVE_HISTORY);
Path modsPath = job.getModsPath(workPid, true);
var originalModsPath = Path.of("src/test/resources/simpleMods.xml");
Files.copy(originalModsPath, modsPath);
Path modsHistoryPath = depositDirManager.getHistoryFile(workPid, DatastreamType.MD_DESCRIPTIVE_HISTORY);
FileUtils.writeStringToFile(modsHistoryPath.toFile(), "History content", UTF_8);
String modsHistorySha1 = getSha1(modsHistoryPath);
Expand Down

0 comments on commit ab00fc9

Please sign in to comment.