Skip to content

Commit 6a959cf

Browse files
committed
[skip ci] fix test display messages
1 parent 2be8354 commit 6a959cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/cryptomator/cryptofs/inuse/RealInUseManagerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ void hasSameOwner() {
307307
}
308308

309309
@Test
310-
@DisplayName("If the inUse properties have the lastUpdated timestamp below threshold, return true")
310+
@DisplayName("If the lastUpdated timestamp is recent enough (below threshold), return true")
311311
void hasDifferentOwnerLastUpdatedBelowTreshold() {
312312
var useInfo = new UseInfo("bob", Instant.now().minus(3, ChronoUnit.MINUTES));
313313
var inUseManager = new RealInUseManager("cryptobot3000", cryptor);
@@ -318,7 +318,7 @@ void hasDifferentOwnerLastUpdatedBelowTreshold() {
318318
}
319319

320320
@Test
321-
@DisplayName("If the inUse properties have the lastUpdated timestamp above threshold, return true")
321+
@DisplayName("If the lastUpdated timestamp is too old, return false")
322322
void hasDifferentOwnerLastUpdatedAboveThreshold() {
323323
var useInfo = new UseInfo("bob", Instant.now().minus(20, ChronoUnit.MINUTES));
324324
var inUseManager = new RealInUseManager("cryptobot3000", cryptor);

0 commit comments

Comments
 (0)