diff options
author | crupest <crupest@outlook.com> | 2019-11-20 00:28:53 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-11-20 00:28:53 +0800 |
commit | ed8bae9cf7fd22300678d718cfee1913209f2cd0 (patch) | |
tree | 55eaf43bda897148b0fa8a65406e7289aed3832e /Timeline.Tests/Mock/Services/TestClock.cs | |
parent | 0ff98dd9274485994b11d9d00f4b647a5f2d42ac (diff) | |
download | timeline-ed8bae9cf7fd22300678d718cfee1913209f2cd0.tar.gz timeline-ed8bae9cf7fd22300678d718cfee1913209f2cd0.tar.bz2 timeline-ed8bae9cf7fd22300678d718cfee1913209f2cd0.zip |
Clean and refactor tests.
Diffstat (limited to 'Timeline.Tests/Mock/Services/TestClock.cs')
-rw-r--r-- | Timeline.Tests/Mock/Services/TestClock.cs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Timeline.Tests/Mock/Services/TestClock.cs b/Timeline.Tests/Mock/Services/TestClock.cs deleted file mode 100644 index 6671395a..00000000 --- a/Timeline.Tests/Mock/Services/TestClock.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System;
-using Timeline.Services;
-
-namespace Timeline.Tests.Mock.Services
-{
- public class TestClock : IClock
- {
- public DateTime? MockCurrentTime { get; set; } = null;
-
- public DateTime GetCurrentTime()
- {
- return MockCurrentTime.GetValueOrDefault(DateTime.Now);
- }
- }
-}
|