Fix some integration test pair mismanagement (#42958 - Early merge)

This commit is contained in:
BarryNorfolk 2026-02-21 21:25:15 +01:00
parent 8aecbaf7f1
commit 669255629b
1 changed files with 2 additions and 5 deletions

View File

@ -11,10 +11,9 @@ namespace Content.IntegrationTests.Tests.Chemistry;
public sealed class ReagentDataTest : InteractionTest public sealed class ReagentDataTest : InteractionTest
{ {
[Test] [Test]
public async Task ReagentDataIsSerializable() public void ReagentDataIsSerializable()
{ {
await using var pair = await PoolManager.GetServerClient(); var reflection = Pair.Server.ResolveDependency<IReflectionManager>();
var reflection = pair.Server.ResolveDependency<IReflectionManager>();
Assert.Multiple(() => Assert.Multiple(() =>
{ {
@ -24,7 +23,5 @@ public sealed class ReagentDataTest : InteractionTest
Assert.That(instance.HasCustomAttribute<SerializableAttribute>(), $"{instance} must have the serializable attribute."); Assert.That(instance.HasCustomAttribute<SerializableAttribute>(), $"{instance} must have the serializable attribute.");
} }
}); });
await pair.CleanReturnAsync();
} }
} }