Fix integration tests nullability errors.

This commit is contained in:
Vera Aguilera Puerto
2021-12-09 14:36:32 +01:00
parent 32c9db8db4
commit 2cb72d40c1
2 changed files with 6 additions and 4 deletions

View File

@@ -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);
});