diff options
author | 杨宇千 <crupest@outlook.com> | 2019-08-04 21:30:53 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-08-04 21:30:53 +0800 |
commit | 2a32e03a384a30b14988b0b6e40db845f4a5444e (patch) | |
tree | d1c9c7b51353b67b47bb4cd89aa82754ef0a1234 /Timeline.Tests/UserUnitTest.cs | |
parent | 6a8f6e48daa3ec101fa770ba96240f406b436a0b (diff) | |
download | timeline-2a32e03a384a30b14988b0b6e40db845f4a5444e.tar.gz timeline-2a32e03a384a30b14988b0b6e40db845f4a5444e.tar.bz2 timeline-2a32e03a384a30b14988b0b6e40db845f4a5444e.zip |
Fix the database bug in unit tests.
Diffstat (limited to 'Timeline.Tests/UserUnitTest.cs')
-rw-r--r-- | Timeline.Tests/UserUnitTest.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Timeline.Tests/UserUnitTest.cs b/Timeline.Tests/UserUnitTest.cs index a4b4dace..b3377f7b 100644 --- a/Timeline.Tests/UserUnitTest.cs +++ b/Timeline.Tests/UserUnitTest.cs @@ -11,13 +11,13 @@ using Xunit.Abstractions; namespace Timeline.Tests { - public class UserUnitTest : IClassFixture<WebApplicationFactory<Startup>> + public class UserUnitTest : IClassFixture<MyWebApplicationFactory<Startup>> { private readonly WebApplicationFactory<Startup> _factory; - public UserUnitTest(WebApplicationFactory<Startup> factory, ITestOutputHelper outputHelper) + public UserUnitTest(MyWebApplicationFactory<Startup> factory, ITestOutputHelper outputHelper) { - _factory = factory.WithTestConfig(outputHelper); + _factory = factory.WithTestLogging(outputHelper); } [Fact] |