Fix last CA1305 error (#8806)

This commit is contained in:
Bond-009 2022-11-27 14:49:21 +01:00 committed by GitHub
parent e1bd5684e5
commit 9c1da522c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
using System; using System;
using System.Collections.Concurrent; using System.Collections.Concurrent;
using System.Globalization;
using System.IO; using System.IO;
using System.Threading; using System.Threading;
using Emby.Server.Implementations; using Emby.Server.Implementations;
@ -28,7 +29,9 @@ namespace Jellyfin.Server.Integration.Tests
static JellyfinApplicationFactory() static JellyfinApplicationFactory()
{ {
// Perform static initialization that only needs to happen once per test-run // Perform static initialization that only needs to happen once per test-run
Log.Logger = new LoggerConfiguration().WriteTo.Console().CreateLogger(); Log.Logger = new LoggerConfiguration()
.WriteTo.Console(formatProvider: CultureInfo.InvariantCulture)
.CreateLogger();
Program.PerformStaticInitialization(); Program.PerformStaticInitialization();
} }