Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FCREPO-3957 - Support range requests at OCFL level #61

Merged
merged 7 commits into from
Oct 25, 2024
Prev Previous commit
Add finals
bbpennel committed Oct 24, 2024

Verified

This commit was signed with the committer’s verified signature.
oddgrd Oddbjørn Grødem
commit d7a16a2ceb96f42d723471cbcfd7eddc926347b6
Original file line number Diff line number Diff line change
@@ -1559,7 +1559,7 @@ public void versioningMutableHeadAgShouldVersionPartsWithStagedChanges() {
}

// Update a subset of resources again -- mutable head
var timestamp3 = Instant.parse("2024-10-10T10:10:25.853500010Z");
final var timestamp3 = Instant.parse("2024-10-10T10:10:25.853500010Z");
try (MockedStatic<Instant> mockInstant = Mockito.mockStatic(Instant.class, Mockito.CALLS_REAL_METHODS)) {
mockInstant.when(Instant::now).thenReturn(timestamp3);

@@ -1579,7 +1579,7 @@ public void versioningMutableHeadAgShouldVersionPartsWithStagedChanges() {
}

// Commit mutable head
var timestamp4 = Instant.parse("2024-10-10T10:10:26.853500010Z");
final var timestamp4 = Instant.parse("2024-10-10T10:10:26.853500010Z");
try (MockedStatic<Instant> mockInstant = Mockito.mockStatic(Instant.class, Mockito.CALLS_REAL_METHODS)) {
mockInstant.when(Instant::now).thenReturn(timestamp4);