Fix content.integration tests warnings (#17817)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
using System.Threading.Tasks;
|
||||
using Content.IntegrationTests.Tests.Interaction;
|
||||
using Content.Server.Tools.Components;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace Content.IntegrationTests.Tests.Weldable;
|
||||
|
||||
@@ -18,8 +16,11 @@ public sealed class WeldableTests : InteractionTest
|
||||
await SpawnTarget(Locker);
|
||||
var comp = Comp<WeldableComponent>();
|
||||
|
||||
Assert.That(comp.Weldable, Is.True);
|
||||
Assert.That(comp.IsWelded, Is.False);
|
||||
Assert.Multiple(() =>
|
||||
{
|
||||
Assert.That(comp.Weldable, Is.True);
|
||||
Assert.That(comp.IsWelded, Is.False);
|
||||
});
|
||||
|
||||
await Interact(Weld);
|
||||
Assert.That(comp.IsWelded, Is.True);
|
||||
|
||||
Reference in New Issue
Block a user