aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-06-18 22:36:00 +0800
committercrupest <crupest@outlook.com>2020-06-18 22:36:00 +0800
commitd0132263b22b1f84fe51b87c8f271f055f176f34 (patch)
tree987c214cbb183612bfd825bee06bcc8f0bd8599c
parent4214c5dd5724bbe0bb8225534568dd4b0e904068 (diff)
downloadtimeline-d0132263b22b1f84fe51b87c8f271f055f176f34.tar.gz
timeline-d0132263b22b1f84fe51b87c8f271f055f176f34.tar.bz2
timeline-d0132263b22b1f84fe51b87c8f271f055f176f34.zip
Clean codes.
-rw-r--r--Timeline.Tests/Services/TimelineServiceTest.cs6
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;