diff options
author | crupest <crupest@outlook.com> | 2020-01-05 23:19:56 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-01-05 23:19:56 +0800 |
commit | ff29d3f9d7b3a1478aefff0a18af7c37f746c40c (patch) | |
tree | 5c884cc6752341a4dde274f6fafd79ffcb4fb972 /Timeline.Tests/Helpers/TestApplication.cs | |
parent | 41e33d570ac7181824b7cd3612010bb1962af540 (diff) | |
download | timeline-ff29d3f9d7b3a1478aefff0a18af7c37f746c40c.tar.gz timeline-ff29d3f9d7b3a1478aefff0a18af7c37f746c40c.tar.bz2 timeline-ff29d3f9d7b3a1478aefff0a18af7c37f746c40c.zip |
Use sqlite development database.
Diffstat (limited to 'Timeline.Tests/Helpers/TestApplication.cs')
-rw-r--r-- | Timeline.Tests/Helpers/TestApplication.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline.Tests/Helpers/TestApplication.cs b/Timeline.Tests/Helpers/TestApplication.cs index a624da6b..d18f2848 100644 --- a/Timeline.Tests/Helpers/TestApplication.cs +++ b/Timeline.Tests/Helpers/TestApplication.cs @@ -18,7 +18,7 @@ namespace Timeline.Tests.Helpers builder.ConfigureServices(services =>
{
services.AddEntityFrameworkSqlite();
- services.AddDbContext<DatabaseContext>(options =>
+ services.AddDbContext<DatabaseContext, DevelopmentDatabaseContext>(options =>
{
options.UseSqlite(Database.Connection);
});
|