diff options
| author | Bond-009 <bond.009@outlook.com> | 2026-04-24 18:59:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-24 18:59:31 +0200 |
| commit | b1e2419c6593a3aa4c8df3778831a3214ae5a1c0 (patch) | |
| tree | dca406a67b95ba04480f3b838ed0607a2ea42d96 /tests/Jellyfin.Server.Integration.Tests/EncodedQueryStringTest.cs | |
| parent | 3c9346594024ca891231195d6784b27b0513fe19 (diff) | |
| parent | bd70e0ca343c334c03140e66f6c4b9df384187b7 (diff) | |
Merge pull request #16666 from Shadowghost/xunit3
Upgrade to xunit v3
Diffstat (limited to 'tests/Jellyfin.Server.Integration.Tests/EncodedQueryStringTest.cs')
| -rw-r--r-- | tests/Jellyfin.Server.Integration.Tests/EncodedQueryStringTest.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Jellyfin.Server.Integration.Tests/EncodedQueryStringTest.cs b/tests/Jellyfin.Server.Integration.Tests/EncodedQueryStringTest.cs index d2249cdc3b..a343423b4d 100644 --- a/tests/Jellyfin.Server.Integration.Tests/EncodedQueryStringTest.cs +++ b/tests/Jellyfin.Server.Integration.Tests/EncodedQueryStringTest.cs @@ -27,9 +27,9 @@ namespace Jellyfin.Server.Integration.Tests { var client = _factory.CreateClient(); - var response = await client.GetAsync("Encoder/UrlDecode?" + sourceUrl); + var response = await client.GetAsync("Encoder/UrlDecode?" + sourceUrl, TestContext.Current.CancellationToken); Assert.Equal(HttpStatusCode.OK, response.StatusCode); - string reply = await response.Content.ReadAsStringAsync(); + string reply = await response.Content.ReadAsStringAsync(TestContext.Current.CancellationToken); Assert.Equal(unencodedUrl, reply); } @@ -40,9 +40,9 @@ namespace Jellyfin.Server.Integration.Tests { var client = _factory.CreateClient(); - var response = await client.GetAsync("Encoder/UrlArrayDecode?" + sourceUrl); + var response = await client.GetAsync("Encoder/UrlArrayDecode?" + sourceUrl, TestContext.Current.CancellationToken); Assert.Equal(HttpStatusCode.OK, response.StatusCode); - string reply = await response.Content.ReadAsStringAsync(); + string reply = await response.Content.ReadAsStringAsync(TestContext.Current.CancellationToken); Assert.Equal(unencodedUrl, reply); } } |
