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

@@ -1,7 +1,9 @@
using System.Threading.Tasks;
using Content.Shared.CCVar;
using NUnit.Framework;
using Robust.Server.GameObjects;
using Robust.Server.Maps;
using Robust.Shared.Configuration;
using Robust.Shared.ContentPack;
using Robust.Shared.GameObjects;
using Robust.Shared.Log;
@@ -26,6 +28,8 @@ namespace Content.IntegrationTests.Tests
var mapLoader = sEntities.System<MapLoaderSystem>();
var xformSystem = sEntities.EntitySysManager.GetEntitySystem<SharedTransformSystem>();
var resManager = server.ResolveDependency<IResourceManager>();
var cfg = server.ResolveDependency<IConfigurationManager>();
Assert.That(cfg.GetCVar(CCVars.DisableGridFill), Is.False);
await server.WaitAssertion(() =>
{