]> git.deb.at Git - rhonda/impostor.git/commitdiff
Fix tests
authorAeonLucid <aeonlucid@outlook.com>
Sat, 24 Oct 2020 17:39:06 +0000 (19:39 +0200)
committerAeonLucid <aeonlucid@outlook.com>
Sat, 24 Oct 2020 17:39:06 +0000 (19:39 +0200)
src/Impostor.Tests/Events/EventManagerTests.cs

index 08b33f8520583afa8971fa3beb8368b7fd440d73..12c36b148d487f64f5473dd5b1cacece82e60c85 100644 (file)
@@ -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<IEventManager, EventManager>();
 
             if (mode == TestMode.Service)