Disable GridFillComponent on some tests (#15757)

This commit is contained in:
Leon Friedrich
2023-04-25 11:48:29 +12:00
committed by GitHub
parent 4223fc00ba
commit 110060678f
9 changed files with 59 additions and 0 deletions

View File

@@ -3,7 +3,9 @@ using System.Linq;
using System.Threading.Tasks;
using Content.Server.GameTicking;
using Content.Server.GameTicking.Rules;
using Content.Shared.CCVar;
using NUnit.Framework;
using Robust.Shared.Configuration;
using Robust.Shared.GameObjects;
using Robust.Shared.Prototypes;
@@ -28,6 +30,8 @@ public sealed class StartEndGameRulesTest
await server.WaitIdleAsync();
var protoMan = server.ResolveDependency<IPrototypeManager>();
var gameTicker = server.ResolveDependency<IEntitySystemManager>().GetEntitySystem<GameTicker>();
var cfg = server.ResolveDependency<IConfigurationManager>();
Assert.That(cfg.GetCVar(CCVars.DisableGridFill), Is.False);
await server.WaitAssertion(() =>
{