Fix tests

This commit is contained in:
Pieter-Jan Briers
2021-05-12 01:57:03 +02:00
parent f0180abeb0
commit 2a1eda0d38
9 changed files with 24 additions and 34 deletions
+1 -2
View File
@@ -88,8 +88,7 @@ namespace Robust.UnitTesting
var compFactory = IoCManager.Resolve<IComponentFactory>();
if (!compFactory.AllRegisteredTypes.Contains(typeof(MetaDataComponent)))
{
compFactory.Register<MetaDataComponent>();
compFactory.RegisterReference<MetaDataComponent, IMetaDataComponent>();
compFactory.RegisterClass<MetaDataComponent>();
}
if(entMan.EventBus == null)