瀏覽代碼

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

Co-authored-by: Odd Stråbø <oddstr13@openshell.no>
BaronGreenback 4 年之前
父節點
當前提交
10d358c8da
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      tests/Jellyfin.Networking.Tests/NetworkParseTests.cs

+ 2 - 1
tests/Jellyfin.Networking.Tests/NetworkParseTests.cs

@@ -383,7 +383,8 @@ namespace Jellyfin.Networking.Tests
         // User on external network, no binding - so result is the 1st external.
         [InlineData("jellyfin.org", "", false, "eth11")]
         // Dns failure - should skip the test.
-        [InlineData("ospoakdposkd.abc", "", false, "eth11")]
+        // https://en.wikipedia.org/wiki/.test
+        [InlineData("invalid.domain.test", "", false, "eth11")]
         // User assumed to be internal, no binding - so result is the 1st internal.
         [InlineData("", "", false, "eth16")]
         public void TestBindInterfaces(string source, string bindAddresses, bool ipv6enabled, string result)