diff options
author | 杨宇千 <crupest@outlook.com> | 2019-09-25 21:35:35 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-09-25 21:35:35 +0800 |
commit | 7c021c429ea77dffdd877c3e2a0bcf6e881a7285 (patch) | |
tree | 6badcfb14fd9fb17c6ae467e2a767b6d72a282e9 /Timeline.Tests/Helpers/MyWebApplicationFactory.cs | |
parent | 3e4405f016ec6cf56bc86577a4662f2fb8f03cc4 (diff) | |
download | timeline-7c021c429ea77dffdd877c3e2a0bcf6e881a7285.tar.gz timeline-7c021c429ea77dffdd877c3e2a0bcf6e881a7285.tar.bz2 timeline-7c021c429ea77dffdd877c3e2a0bcf6e881a7285.zip |
Init migration to dotnet core 3.0.0 .
Diffstat (limited to 'Timeline.Tests/Helpers/MyWebApplicationFactory.cs')
-rw-r--r-- | Timeline.Tests/Helpers/MyWebApplicationFactory.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Timeline.Tests/Helpers/MyWebApplicationFactory.cs b/Timeline.Tests/Helpers/MyWebApplicationFactory.cs index 1a9fe01e..dfbe6620 100644 --- a/Timeline.Tests/Helpers/MyWebApplicationFactory.cs +++ b/Timeline.Tests/Helpers/MyWebApplicationFactory.cs @@ -58,11 +58,7 @@ namespace Timeline.Tests.Helpers return factory.WithWebHostBuilder(builder =>
{
- builder
- .ConfigureLogging(logging =>
- {
- logging.AddXunit(outputHelper);
- })
+ builder.ConfigureTestLogging()
.ConfigureServices(services =>
{
services.AddEntityFrameworkSqlite();
|