Weldable cleanup (#19809)

This commit is contained in:
metalgearsloth
2023-09-05 00:07:01 +10:00
committed by GitHub
parent 88454b046a
commit db1ff07821
24 changed files with 159 additions and 210 deletions

View File

@@ -2,7 +2,7 @@ using System.Linq;
using Content.IntegrationTests.Tests.Construction.Interaction;
using Content.IntegrationTests.Tests.Interaction;
using Content.IntegrationTests.Tests.Weldable;
using Content.Server.Tools.Components;
using Content.Shared.Tools.Components;
namespace Content.IntegrationTests.Tests.DoAfter;
@@ -100,11 +100,7 @@ public sealed class DoAfterCancellationTests : InteractionTest
await SpawnTarget(WeldableTests.Locker);
var comp = Comp<WeldableComponent>();
Assert.Multiple(() =>
{
Assert.That(comp.Weldable, Is.True);
Assert.That(comp.IsWelded, Is.False);
});
Assert.That(comp.IsWelded, Is.False);
await Interact(Weld, awaitDoAfters: false);
await RunTicks(1);