public async Task Refresh_Works_NoEvent(FFXIVRole role) { var queue = new TestQueue(); var enqueuedSlot = new QueueSlot(UserId, "", new List <ulong>()) { QueueTime = DateTime.UtcNow.AddHours(-4).AddMinutes(-45), }; queue.AddSlot(enqueuedSlot, role); await Task.Delay(1000); var now = DateTime.UtcNow; queue.Refresh(UserId); var dequeuedSlot = queue.GetAllSlots().First(); Assert.AreEqual(now.Hour, dequeuedSlot.QueueTime.Hour); Assert.AreEqual(now.Minute, dequeuedSlot.QueueTime.Minute); }