removes icon test (#2128)
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user