Fix integration tests nullability errors.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#nullable enable annotations
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Content.Server.Disposal.Tube.Components;
|
||||
@@ -151,7 +152,7 @@ namespace Content.IntegrationTests.Tests.Disposal
|
||||
Assert.True(entityManager.HasComponent<DisposalEntryComponent>(disposalTrunk));
|
||||
|
||||
// Can't insert, unanchored and unpowered
|
||||
entityManager.GetComponent<TransformComponent>(unit.Owner).Anchored = false;
|
||||
entityManager.GetComponent<TransformComponent>(unit!.Owner).Anchored = false;
|
||||
UnitInsertContains(unit, false, human, wrench, disposalUnit, disposalTrunk);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user