Skip to content

Commit

Permalink
Add finals
Browse files Browse the repository at this point in the history
bbpennel committed Oct 24, 2024
1 parent f0b3955 commit d7a16a2
Showing 1 changed file with 2 additions and 2 deletions.
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);

0 comments on commit d7a16a2

Please sign in to comment.