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 | d9ed0c1b0fb04d161d27b556e33f0a03738e717d (patch) | |
tree | 36029dc650c6fd7e166ca1db36cb761ba77dd402 /Timeline.Tests/Helpers/TestClock.cs | |
parent | 135f47e7477bb2a72c423145dcd286ae494fd3ed (diff) | |
download | timeline-d9ed0c1b0fb04d161d27b556e33f0a03738e717d.tar.gz timeline-d9ed0c1b0fb04d161d27b556e33f0a03738e717d.tar.bz2 timeline-d9ed0c1b0fb04d161d27b556e33f0a03738e717d.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;
}
}
|