File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/org/cryptomator/cryptofs/inuse Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments