Make dummy icon test ignore abstract prototypes
This commit is contained in:
@@ -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(() =>
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user