diff options
author | crupest <crupest@outlook.com> | 2020-06-18 22:36:00 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-06-18 22:36:00 +0800 |
commit | d0132263b22b1f84fe51b87c8f271f055f176f34 (patch) | |
tree | 987c214cbb183612bfd825bee06bcc8f0bd8599c | |
parent | 4214c5dd5724bbe0bb8225534568dd4b0e904068 (diff) | |
download | timeline-d0132263b22b1f84fe51b87c8f271f055f176f34.tar.gz timeline-d0132263b22b1f84fe51b87c8f271f055f176f34.tar.bz2 timeline-d0132263b22b1f84fe51b87c8f271f055f176f34.zip |
Clean codes.
-rw-r--r-- | Timeline.Tests/Services/TimelineServiceTest.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Timeline.Tests/Services/TimelineServiceTest.cs b/Timeline.Tests/Services/TimelineServiceTest.cs index 4f081b5d..cde827db 100644 --- a/Timeline.Tests/Services/TimelineServiceTest.cs +++ b/Timeline.Tests/Services/TimelineServiceTest.cs @@ -1,6 +1,4 @@ -using Castle.Core.Logging;
-using FluentAssertions;
-using FluentAssertions.Xml;
+using FluentAssertions;
using Microsoft.Extensions.Logging.Abstractions;
using System;
using System.Collections.Generic;
@@ -16,7 +14,7 @@ namespace Timeline.Tests.Services {
public class TimelineServiceTest : IAsyncLifetime, IDisposable
{
- private TestDatabase _testDatabase = new TestDatabase();
+ private readonly TestDatabase _testDatabase = new TestDatabase();
private DatabaseContext _databaseContext;
|