From: AeonLucid Date: Sat, 24 Oct 2020 17:39:06 +0000 (+0200) Subject: Fix tests X-Git-Tag: v1.2.2~96^2~17 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=880826bc20ec4a786d80eed1fb08fa6fb362899c;p=rhonda%2Fimpostor.git Fix tests --- diff --git a/src/Impostor.Tests/Events/EventManagerTests.cs b/src/Impostor.Tests/Events/EventManagerTests.cs index 08b33f8..12c36b1 100644 --- a/src/Impostor.Tests/Events/EventManagerTests.cs +++ b/src/Impostor.Tests/Events/EventManagerTests.cs @@ -1,4 +1,5 @@ using System.Collections.Generic; +using System.Net.Sockets; using System.Threading.Tasks; using Impostor.Api.Events; using Impostor.Api.Events.Managers; @@ -87,6 +88,7 @@ namespace Impostor.Tests.Events private static IEventManager CreatEventManager(TestMode mode, params IEventListener[] listeners) { var services = new ServiceCollection(); + services.AddLogging(); services.AddSingleton(); if (mode == TestMode.Service)