diff options
| author | KGT1 <kilian.gamn@gmx.de> | 2026-05-03 22:35:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-03 22:35:57 +0200 |
| commit | 4464b2e2ed9d8cc3f4c520ee76dfedac3557cf0d (patch) | |
| tree | 4fdf6dc5fff74c21b3b2cd74c1d3d5fd695b0638 /tests/Jellyfin.Server.Integration.Tests/EncodedQueryStringTest.cs | |
| parent | 950c6525d1ab456115c4ee80b8fed86c5a81eaf5 (diff) | |
| parent | 622947e37425f3620432995cde5d4a0809d91694 (diff) | |
Merge branch 'jellyfin:master' into removeGenericConfigurationEndpoint
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); } } |
