Fix content.integration tests warnings (#17817)

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
TemporalOroboros
2023-07-05 21:54:25 -07:00
committed by GitHub
parent 20c1754abd
commit ba91023a85
121 changed files with 3658 additions and 1961 deletions

View File

@@ -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);