mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-21 21:20:39 +02:00
Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
parent
e5914fd28c
commit
b7fb152faf
|
@ -536,7 +536,7 @@ namespace Jellyfin.Networking.Tests
|
||||||
[Theory]
|
[Theory]
|
||||||
[InlineData("185.10.10.10", "79.2.3.4", false)] // blacklist
|
[InlineData("185.10.10.10", "79.2.3.4", false)] // blacklist
|
||||||
[InlineData("185.10.10.10", "185.10.10.10", true)] // 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.
|
// 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.
|
// If left blank, all remote addresses will be allowed.
|
||||||
|
|
Loading…
Reference in a new issue