diff options
author | crupest <crupest@outlook.com> | 2020-06-18 23:41:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-18 23:41:13 +0800 |
commit | e4ca28740d3ccdb64b61361a16bd104009682f6c (patch) | |
tree | 5f65150b65ac37d2cd3f9d04d9cde22b3c02691d /Timeline.Tests/Helpers/TestClock.cs | |
parent | 5f57f6d3f9c7bd94929f3e50915d57da7c031538 (diff) | |
parent | 35f4e03157fdb6643dc42db0cd764804e00944aa (diff) | |
download | timeline-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.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;
}
}
|