Make dummy icon test ignore abstract prototypes

This commit is contained in:
DrSmugleaf
2021-02-22 14:53:11 +01:00
parent 31b86081ac
commit b7dfb58777

View File

@@ -24,7 +24,7 @@ namespace Content.IntegrationTests.Tests
{ {
foreach (var proto in prototypeManager.EnumeratePrototypes<EntityPrototype>()) foreach (var proto in prototypeManager.EnumeratePrototypes<EntityPrototype>())
{ {
if (!proto.Components.ContainsKey("Sprite")) continue; if (proto.Abstract || !proto.Components.ContainsKey("Sprite")) continue;
Assert.DoesNotThrow(() => Assert.DoesNotThrow(() =>
{ {