The Free Software Media System - Server Backend & API
Perform static initialization only once
Bond_00937eb7d6d49b3
diff --git a/tests/Jellyfin.Server.Integration.Tests/JellyfinApplicationFactory.cs b/tests/Jellyfin.Server.Integration.Tests/JellyfinApplicationFactory.csindex 94e6181023..d9ec81a271 100644--- a/tests/Jellyfin.Server.Integration.Tests/JellyfinApplicationFactory.cs+++ b/tests/Jellyfin.Server.Integration.Tests/JellyfinApplicationFactory.cs@@ -4,7 +4,6 @@ using System.IO;using System.Threading;using Emby.Server.Implementations;using Emby.Server.Implementations.IO;-using Jellyfin.Server;using MediaBrowser.Common;using Microsoft.AspNetCore.Hosting;using Microsoft.AspNetCore.Mvc.Testing;@@ -26,9 +25,9 @@ namespace Jellyfin.Server.Integration.Testsprivate readonly ConcurrentBag<IDisposable> _disposableComponents = new ConcurrentBag<IDisposable>();/// <summary>- /// Initializes a new instance of the <see cref="JellyfinApplicationFactory"/> class.+ /// Initializes static members of the <see cref="JellyfinApplicationFactory"/> class./// </summary>- public JellyfinApplicationFactory()+ static JellyfinApplicationFactory(){// Perform static initialization that only needs to happen once per test-runLog.Logger = new LoggerConfiguration().WriteTo.Console().CreateLogger();