aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline.Tests/Helpers/TestClock.cs
diff options
context:
space:
mode:
Diffstat (limited to 'BackEnd/Timeline.Tests/Helpers/TestClock.cs')
-rw-r--r--BackEnd/Timeline.Tests/Helpers/TestClock.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/BackEnd/Timeline.Tests/Helpers/TestClock.cs b/BackEnd/Timeline.Tests/Helpers/TestClock.cs
index a04a3eb6..7fa17fbe 100644
--- a/BackEnd/Timeline.Tests/Helpers/TestClock.cs
+++ b/BackEnd/Timeline.Tests/Helpers/TestClock.cs
@@ -33,7 +33,7 @@ namespace Timeline.Tests.Helpers
{
if (_currentTime == null)
return SetMockCurrentTime();
- _currentTime += timeSpan;
+ _currentTime = _currentTime.Value + timeSpan;
return _currentTime.Value;
}
}