Content audio (#20862)
This commit is contained in:
@@ -6,6 +6,8 @@ using Content.Server.Destructible.Thresholds.Triggers;
|
||||
using Content.Shared.Damage;
|
||||
using Content.Shared.Damage.Prototypes;
|
||||
using Content.Shared.FixedPoint;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.Audio.Systems;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Prototypes;
|
||||
using static Content.IntegrationTests.Tests.Destructible.DestructibleTestPrototypes;
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Content.IntegrationTests.Tests
|
||||
await using var pair = await PoolManager.GetServerClient(new PoolSettings { Connected = true });
|
||||
var client = pair.Client;
|
||||
var prototypeManager = client.ResolveDependency<IPrototypeManager>();
|
||||
var resourceCache = client.ResolveDependency<IResourceCache>();
|
||||
var resourceCache = client.ResolveDependency<IClientResourceCache>();
|
||||
|
||||
await client.WaitAssertion(() =>
|
||||
{
|
||||
|
||||
@@ -619,6 +619,9 @@ public abstract partial class InteractionTest
|
||||
{
|
||||
foreach (var (proto, quantity) in expected.Entities)
|
||||
{
|
||||
if (proto == "Audio")
|
||||
continue;
|
||||
|
||||
if (quantity < 0 && failOnExcess)
|
||||
Assert.Fail($"Unexpected entity/stack: {proto}, quantity: {-quantity}");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user