diff options
author | crupest <crupest@outlook.com> | 2020-11-15 17:27:18 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-11-15 17:27:18 +0800 |
commit | 68ace2c77bffb2e35422d4ca5d878962475ae765 (patch) | |
tree | 03bdb92126b716daab2fe7a4ab74d4a86c7c8aa4 /BackEnd/Timeline.Tests/Services/DatabaseBasedTest.cs | |
parent | a2e196289834d1a9566013b1043eee4535a2369f (diff) | |
download | timeline-68ace2c77bffb2e35422d4ca5d878962475ae765.tar.gz timeline-68ace2c77bffb2e35422d4ca5d878962475ae765.tar.bz2 timeline-68ace2c77bffb2e35422d4ca5d878962475ae765.zip |
...
Diffstat (limited to 'BackEnd/Timeline.Tests/Services/DatabaseBasedTest.cs')
-rw-r--r-- | BackEnd/Timeline.Tests/Services/DatabaseBasedTest.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BackEnd/Timeline.Tests/Services/DatabaseBasedTest.cs b/BackEnd/Timeline.Tests/Services/DatabaseBasedTest.cs index 7c97158c..3bb6ebb5 100644 --- a/BackEnd/Timeline.Tests/Services/DatabaseBasedTest.cs +++ b/BackEnd/Timeline.Tests/Services/DatabaseBasedTest.cs @@ -8,7 +8,7 @@ namespace Timeline.Tests.Services public abstract class DatabaseBasedTest : IAsyncLifetime
{
protected TestDatabase TestDatabase { get; }
- protected DatabaseContext Database { get; private set; }
+ protected DatabaseContext Database { get; private set; } = default!;
protected DatabaseBasedTest(bool databaseCreateUsers = true)
{
|