using Content.IntegrationTests.Tests.Interaction;
using Content.Shared.Tools.Components;
namespace Content.IntegrationTests.Tests.Weldable;
///
/// Simple test to check that using a welder on a locker will weld it shut.
///
public sealed class WeldableTests : InteractionTest
{
public const string Locker = "LockerFreezer";
[Test]
public async Task WeldLocker()
{
await SpawnTarget(Locker);
var comp = Comp();
Assert.That(comp.IsWelded, Is.False);
await InteractUsing(Weld);
Assert.That(comp.IsWelded, Is.True);
AssertPrototype(Locker); // Prototype did not change.
}
}