aboutsummaryrefslogtreecommitdiff
path: root/Timeline.Tests/Helpers/TestClock.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-06-18 19:41:51 +0800
committercrupest <crupest@outlook.com>2020-06-18 19:41:51 +0800
commit4214c5dd5724bbe0bb8225534568dd4b0e904068 (patch)
tree61846ff2588c4369811fd805dfd78b4eb3ba8d9e /Timeline.Tests/Helpers/TestClock.cs
parent5f57f6d3f9c7bd94929f3e50915d57da7c031538 (diff)
downloadtimeline-4214c5dd5724bbe0bb8225534568dd4b0e904068.tar.gz
timeline-4214c5dd5724bbe0bb8225534568dd4b0e904068.tar.bz2
timeline-4214c5dd5724bbe0bb8225534568dd4b0e904068.zip
feat(back): Timeline service add post modified since.
Diffstat (limited to 'Timeline.Tests/Helpers/TestClock.cs')
-rw-r--r--Timeline.Tests/Helpers/TestClock.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline.Tests/Helpers/TestClock.cs b/Timeline.Tests/Helpers/TestClock.cs
index de7d0eb7..0cbf236d 100644
--- a/Timeline.Tests/Helpers/TestClock.cs
+++ b/Timeline.Tests/Helpers/TestClock.cs
@@ -36,7 +36,7 @@ namespace Timeline.Tests.Helpers
{
if (_currentTime == null)
return SetMockCurrentTime();
- _currentTime.Value.Add(timeSpan);
+ _currentTime += timeSpan;
return _currentTime.Value;
}
}