diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2022-07-20 11:47:48 +0200 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2022-07-20 11:47:48 +0200 |
| commit | a492082f4e015d6d38368c4ac05d39d236387214 (patch) | |
| tree | 97852d6e845ee6b876a083a06a0cbd1f2f5a364c /tests | |
| parent | 2043a33f815d9a16aa819095e6310620ca4e72a2 (diff) | |
Apply review suggestions and fix build
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/Jellyfin.Server.Tests/ParseNetworkTests.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Jellyfin.Server.Tests/ParseNetworkTests.cs b/tests/Jellyfin.Server.Tests/ParseNetworkTests.cs index a1bdfa31b..fc5f5f4c6 100644 --- a/tests/Jellyfin.Server.Tests/ParseNetworkTests.cs +++ b/tests/Jellyfin.Server.Tests/ParseNetworkTests.cs @@ -21,9 +21,9 @@ namespace Jellyfin.Server.Tests data.Add( true, true, - new string[] { "192.168.t", "127.0.0.1", "1234.1232.12.1234" }, - new IPAddress[] { IPAddress.Loopback.MapToIPv6() }, - Array.Empty<IPNetwork>()); + new string[] { "192.168.t", "127.0.0.1", "::1", "1234.1232.12.1234" }, + new IPAddress[] { IPAddress.Loopback, }, + new IPNetwork[] { new IPNetwork(IPAddress.IPv6Loopback, 128) }); data.Add( true, @@ -64,7 +64,7 @@ namespace Jellyfin.Server.Tests true, true, new string[] { "localhost" }, - new IPAddress[] { IPAddress.Loopback.MapToIPv6() }, + new IPAddress[] { IPAddress.Loopback }, new IPNetwork[] { new IPNetwork(IPAddress.IPv6Loopback, 128) }); return data; } |
