diff options
| author | Bond_009 <bond.009@outlook.com> | 2023-09-18 17:55:52 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2023-09-18 17:55:52 +0200 |
| commit | 03b6adf068f007a66abbda515be940e702849d6b (patch) | |
| tree | b9918cfe31f712d11f382245dbfd725c7effac0a /tests/Jellyfin.Server.Integration.Tests/Middleware/RobotsRedirectionMiddlewareTests.cs | |
| parent | 5669955aca4e7f187c0849095b35a5f93325d812 (diff) | |
Fix xUnit1030: Do not call ConfigureAwait in test method
Diffstat (limited to 'tests/Jellyfin.Server.Integration.Tests/Middleware/RobotsRedirectionMiddlewareTests.cs')
| -rw-r--r-- | tests/Jellyfin.Server.Integration.Tests/Middleware/RobotsRedirectionMiddlewareTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Jellyfin.Server.Integration.Tests/Middleware/RobotsRedirectionMiddlewareTests.cs b/tests/Jellyfin.Server.Integration.Tests/Middleware/RobotsRedirectionMiddlewareTests.cs index 8c49a2e2b..c8ad9d2a1 100644 --- a/tests/Jellyfin.Server.Integration.Tests/Middleware/RobotsRedirectionMiddlewareTests.cs +++ b/tests/Jellyfin.Server.Integration.Tests/Middleware/RobotsRedirectionMiddlewareTests.cs @@ -23,7 +23,7 @@ namespace Jellyfin.Server.Integration.Tests.Middleware AllowAutoRedirect = false }); - var response = await client.GetAsync("robots.txt").ConfigureAwait(false); + var response = await client.GetAsync("robots.txt"); Assert.Equal(HttpStatusCode.Redirect, response.StatusCode); Assert.Equal("web/robots.txt", response.Headers.Location?.ToString()); |
