Fixed broken tests

This commit is contained in:
EvilFactory
2024-10-22 14:12:44 -03:00
parent 14d3402b8d
commit 32525b5676
4 changed files with 11 additions and 4 deletions
@@ -93,6 +93,7 @@ public class ClientServerTests : IDisposable
currentServer = new GameServer( currentServer = new GameServer(
name: ServerName, name: ServerName,
listenIp: null,
port: NetConfig.DefaultPort, port: NetConfig.DefaultPort,
queryPort: NetConfig.DefaultQueryPort, queryPort: NetConfig.DefaultQueryPort,
maxPlayers: 1, maxPlayers: 1,
@@ -126,4 +127,4 @@ public class ClientServerTests : IDisposable
OnTestsFinished(); OnTestsFinished();
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }
@@ -1,4 +1,6 @@
using Barotrauma; extern alias Client;
using Client::Barotrauma;
using MoonSharp.Interpreter; using MoonSharp.Interpreter;
using System; using System;
using System.Collections.Concurrent; using System.Collections.Concurrent;
@@ -1,4 +1,6 @@
using Barotrauma; extern alias Client;
using Client::Barotrauma;
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework;
using MoonSharp.Interpreter; using MoonSharp.Interpreter;
using System; using System;
@@ -1,4 +1,6 @@
using Barotrauma; extern alias Client;
using Client::Barotrauma;
using System; using System;
using System.Runtime.ExceptionServices; using System.Runtime.ExceptionServices;