Fix some integration test pair mismanagement (#42958 - Early merge)
This commit is contained in:
parent
8aecbaf7f1
commit
669255629b
|
|
@ -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();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue