Make warnings the default log failure level in content (#3799)

* Make warnings the default log failure level in content

* Move the default to the constructor

* Remove old changes
This commit is contained in:
DrSmugleaf
2021-04-04 13:00:58 +02:00
committed by GitHub
parent c4895af81a
commit 3e48f185e6
4 changed files with 31 additions and 9 deletions

View File

@@ -56,7 +56,7 @@ namespace Content.IntegrationTests.Tests.Buckle
{
var cOptions = new ClientIntegrationOptions {ExtraPrototypes = Prototypes};
var sOptions = new ServerIntegrationOptions {ExtraPrototypes = Prototypes};
var (client, server) = await StartConnectedServerClientPair(cOptions, sOptions);
var (_, server) = await StartConnectedServerClientPair(cOptions, sOptions);
IEntity human = null;
IEntity chair = null;
@@ -208,7 +208,7 @@ namespace Content.IntegrationTests.Tests.Buckle
[Test]
public async Task BuckledDyingDropItemsTest()
{
var options = new ServerIntegrationOptions {ExtraPrototypes = Prototypes};
var options = new ServerContentIntegrationOption {ExtraPrototypes = Prototypes};
var server = StartServer(options);
IEntity human = null;
@@ -294,7 +294,10 @@ namespace Content.IntegrationTests.Tests.Buckle
[Test]
public async Task ForceUnbuckleBuckleTest()
{
var options = new ServerIntegrationOptions {ExtraPrototypes = Prototypes};
var options = new ServerContentIntegrationOption
{
ExtraPrototypes = Prototypes
};
var server = StartServer(options);
IEntity human = null;