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
commite4ca28740d3ccdb64b61361a16bd104009682f6c (patch)
tree5f65150b65ac37d2cd3f9d04d9cde22b3c02691d /Timeline.Tests/Helpers/TestClock.cs
parent5f57f6d3f9c7bd94929f3e50915d57da7c031538 (diff)
parent35f4e03157fdb6643dc42db0cd764804e00944aa (diff)
downloadtimeline-e4ca28740d3ccdb64b61361a16bd104009682f6c.tar.gz
timeline-e4ca28740d3ccdb64b61361a16bd104009682f6c.tar.bz2
timeline-e4ca28740d3ccdb64b61361a16bd104009682f6c.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;
}
}