diff --git a/Directory.Packages.props b/Directory.Packages.props index c1c92e52..e9b7475a 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -33,7 +33,6 @@ - diff --git a/tests/CommunityToolkit.Datasync.Server.Automapper.Test/CommunityToolkit.Datasync.Server.Automapper.Test.csproj b/tests/CommunityToolkit.Datasync.Server.Automapper.Test/CommunityToolkit.Datasync.Server.Automapper.Test.csproj index 823acacb..f9d81cd2 100644 --- a/tests/CommunityToolkit.Datasync.Server.Automapper.Test/CommunityToolkit.Datasync.Server.Automapper.Test.csproj +++ b/tests/CommunityToolkit.Datasync.Server.Automapper.Test/CommunityToolkit.Datasync.Server.Automapper.Test.csproj @@ -17,6 +17,5 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all - diff --git a/tests/CommunityToolkit.Datasync.Server.Automapper.Test/MappedTableRepository_Tests.cs b/tests/CommunityToolkit.Datasync.Server.Automapper.Test/MappedTableRepository_Tests.cs index 2aa456f5..37358e06 100644 --- a/tests/CommunityToolkit.Datasync.Server.Automapper.Test/MappedTableRepository_Tests.cs +++ b/tests/CommunityToolkit.Datasync.Server.Automapper.Test/MappedTableRepository_Tests.cs @@ -9,7 +9,6 @@ using CommunityToolkit.Datasync.TestCommon.Databases; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; -using Microsoft.Extensions.Logging.Xunit; using Xunit.Abstractions; namespace CommunityToolkit.Datasync.Server.Automapper.Test; @@ -31,7 +30,7 @@ public class MappedTableRepository_Tests : RepositoryTests, IDisposabl public MappedTableRepository_Tests(ITestOutputHelper output) { this.output = output; - this.loggerFactory = new LoggerFactory([ new XunitLoggerProvider(this.output) ]); + this.loggerFactory = new TestLoggerFactory(this.output); MapperConfiguration config = new(c => c.AddProfile(new MapperProfile()), this.loggerFactory); this.mapper = config.CreateMapper(); }