Remove reagent test (#5593)

Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
This commit is contained in:
metalgearsloth
2021-11-28 23:05:13 +11:00
committed by GitHub
parent 2b3e144549
commit 378d95ff6b
3 changed files with 6 additions and 44 deletions

View File

@@ -24,16 +24,8 @@ namespace Content.IntegrationTests.Tests
foreach (var entry in storage.Contents)
{
var id = entry.PrototypeId;
if (id == null)
{
continue;
}
Assert.That(protoManager.HasIndex<EntityPrototype>(id), $"Unable to find StorageFill prototype of {id} in prototype {proto.ID}");
Assert.That(entry.Amount > 0, $"Specified invalid amount of {entry.Amount} for prototype {proto.ID}");
Assert.That(entry.SpawnProbability > 0, $"Specified invalid probability of {entry.SpawnProbability} for prototype {proto.ID}");
Assert.That(entry.Amount, Is.GreaterThan(0), $"Specified invalid amount of {entry.Amount} for prototype {proto.ID}");
Assert.That(entry.SpawnProbability, Is.GreaterThan(0), $"Specified invalid probability of {entry.SpawnProbability} for prototype {proto.ID}");
}
}
});