aboutsummaryrefslogtreecommitdiff
path: root/Timeline.Tests/Helpers/TestClock.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-06-18 23:41:13 +0800
committerGitHub <noreply@github.com>2020-06-18 23:41:13 +0800
commit838f9377514b03404afa1d6b6e42e981174178b5 (patch)
tree6d5e383ad6f135ec40fc69f0f1fa16bfa2c56656 /Timeline.Tests/Helpers/TestClock.cs
parent135f47e7477bb2a72c423145dcd286ae494fd3ed (diff)
parent71ad72b6d3db3937a2b769fe1d64c8bb99702ba1 (diff)
downloadtimeline-838f9377514b03404afa1d6b6e42e981174178b5.tar.gz
timeline-838f9377514b03404afa1d6b6e42e981174178b5.tar.bz2
timeline-838f9377514b03404afa1d6b6e42e981174178b5.zip
Merge pull request #112 from crupest/post-modified-since
Post modified since query param.
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;
}
}