diff options
author | crupest <crupest@outlook.com> | 2021-04-23 17:44:02 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-04-23 17:44:02 +0800 |
commit | b0b95bd1c7cf97bfa9fc2886f10a871a7c252b6a (patch) | |
tree | af4709209ac4af56741499b5b8a46d2c839b8c7b /BackEnd/Timeline.Tests/Services | |
parent | b71bb7216d5d815df34cbb3b9e9cfd5a8018d1b0 (diff) | |
download | timeline-b0b95bd1c7cf97bfa9fc2886f10a871a7c252b6a.tar.gz timeline-b0b95bd1c7cf97bfa9fc2886f10a871a7c252b6a.tar.bz2 timeline-b0b95bd1c7cf97bfa9fc2886f10a871a7c252b6a.zip |
test: Test database now use migrator.
Diffstat (limited to 'BackEnd/Timeline.Tests/Services')
-rw-r--r-- | BackEnd/Timeline.Tests/Services/ServiceTestBase.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/BackEnd/Timeline.Tests/Services/ServiceTestBase.cs b/BackEnd/Timeline.Tests/Services/ServiceTestBase.cs index 5a3e1e19..654116d0 100644 --- a/BackEnd/Timeline.Tests/Services/ServiceTestBase.cs +++ b/BackEnd/Timeline.Tests/Services/ServiceTestBase.cs @@ -22,14 +22,12 @@ namespace Timeline.Tests.Services protected long UserId { get; private set; }
protected long AdminId { get; private set; }
- protected ServiceTestBase(bool databaseCreateUsers = true, ITestOutputHelper? testOutputHelper = null)
+ protected ServiceTestBase(ITestOutputHelper? testOutputHelper = null)
{
_testOutputHelper = testOutputHelper;
- TestDatabase = new TestDatabase(databaseCreateUsers);
+ TestDatabase = new TestDatabase();
}
- protected ServiceTestBase(ITestOutputHelper? testOutputHelper) : this(true, testOutputHelper) { }
-
public async Task InitializeAsync()
{
await TestDatabase.InitializeAsync();
|