removes icon test (#2128)

This commit is contained in:
Paul Ritter
2020-09-24 16:03:16 +02:00
committed by GitHub
parent cdc063e517
commit 043cb12041

View File

@@ -91,30 +91,6 @@ namespace Content.IntegrationTests.Tests
await server.WaitIdleAsync();
}
[Test]
public async Task NotAbstractIconTest()
{
var client = StartClient();
await client.WaitIdleAsync();
var prototypeMan = client.ResolveDependency<IPrototypeManager>();
client.Assert(() =>
{
foreach (var prototype in prototypeMan.EnumeratePrototypes<EntityPrototype>())
{
if (prototype.Abstract)
{
continue;
}
Assert.That(prototype.Components.ContainsKey("Icon"),
$"Entity {prototype.ID} does not have an Icon component, but is not abstract");
}
});
await client.WaitIdleAsync();
}
[Test]
public async Task AllComponentsOneToOneDeleteTest()
{