Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
BaronGreenback 2021-03-12 14:44:05 +00:00 committed by GitHub
parent e5914fd28c
commit b7fb152faf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -536,7 +536,7 @@ namespace Jellyfin.Networking.Tests
[Theory]
[InlineData("185.10.10.10", "79.2.3.4", false)] // blacklist
[InlineData("185.10.10.10", "185.10.10.10", true)] // blacklist
public void HasRemoteAccess_GivenNonEmptBlacklist_BlacklistTheIps(string addresses, string remoteIp, bool denied)
public void HasRemoteAccess_GivenNonEmptyBlacklist_BlacklistTheIps(string addresses, string remoteIp, bool denied)
{
// Comma separated list of IP addresses or IP/netmask entries for networks that will be allowed to connect remotely.
// If left blank, all remote addresses will be allowed.