diff options
author | crupest <crupest@outlook.com> | 2020-06-18 19:41:51 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-06-18 19:41:51 +0800 |
commit | 4214c5dd5724bbe0bb8225534568dd4b0e904068 (patch) | |
tree | 61846ff2588c4369811fd805dfd78b4eb3ba8d9e /Timeline.Tests/Helpers/TestClock.cs | |
parent | 5f57f6d3f9c7bd94929f3e50915d57da7c031538 (diff) | |
download | timeline-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.cs | 2 |
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;
}
}
|