aboutsummaryrefslogtreecommitdiff
path: root/tests/Jellyfin.Api.Tests/TestHelpers.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-11-13 09:21:22 -0700
committercrobibero <cody@robibe.ro>2020-11-13 09:21:22 -0700
commit445eec7f5f8710179a425b3b6afa3d4d54ce03da (patch)
tree8f6e2da65d916927342cf7e3eac86af775caa125 /tests/Jellyfin.Api.Tests/TestHelpers.cs
parent01355e049855a21b69e7e258599c3fa35965375a (diff)
Fix nullability errors in Jellyfin.Api.Tests
Diffstat (limited to 'tests/Jellyfin.Api.Tests/TestHelpers.cs')
-rw-r--r--tests/Jellyfin.Api.Tests/TestHelpers.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Jellyfin.Api.Tests/TestHelpers.cs b/tests/Jellyfin.Api.Tests/TestHelpers.cs
index c4ce39885..f27cdf7b6 100644
--- a/tests/Jellyfin.Api.Tests/TestHelpers.cs
+++ b/tests/Jellyfin.Api.Tests/TestHelpers.cs
@@ -60,7 +60,7 @@ namespace Jellyfin.Api.Tests
.Returns(user);
httpContextAccessorMock
- .Setup(h => h.HttpContext.Connection.RemoteIpAddress)
+ .Setup(h => h.HttpContext!.Connection.RemoteIpAddress)
.Returns(new IPAddress(0));
return new ClaimsPrincipal(identity);