Fix tests

This commit is contained in:
Vera Aguilera Puerto
2021-12-09 11:34:47 +01:00
parent 8c351e5456
commit 3a9e1ff929
2 changed files with 4 additions and 2 deletions

View File

@@ -88,8 +88,8 @@ namespace Content.IntegrationTests.Tests
Logger.LogS(LogLevel.Debug, "EntityTest", $"Testing: {prototype.ID}");
testEntity = entityMan.SpawnEntity(prototype.ID, testLocation);
server.RunTicks(2);
Assert.That(entityMan.GetComponent<MetaDataComponent>(testEntity).EntityInitialized);
entityMan.DeleteEntity(testEntity);
if(!entityMan.Deleted(testEntity))
entityMan.DeleteEntity(testEntity);
}, "Entity '{0}' threw an exception.",
prototype.ID);
}