Skip to content

Commit

Permalink
#1827 change offset to not fail tests
Browse files Browse the repository at this point in the history
  • Loading branch information
qdraw committed Nov 13, 2024
1 parent 2aeafeb commit d0f9a93
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ public async Task SingleFile_FileAlreadyExist_With_Changed_FileHash()
Assert.AreEqual(DateTime.UtcNow.Day, fileIndexItem?.LastEdited.Day);
Assert.AreEqual(DateTime.UtcNow.Month, fileIndexItem?.LastEdited.Month);
Assert.AreEqual(DateTime.UtcNow.Hour, fileIndexItem?.LastEdited.Hour);
Assert.AreEqual(DateTime.UtcNow.Minute, fileIndexItem?.LastEdited.Minute);
Assert.IsTrue((DateTime.UtcNow - fileIndexItem?.LastEdited)?.TotalMinutes <= 5);
}

[TestMethod]
Expand Down

0 comments on commit d0f9a93

Please sign in to comment.