aboutsummaryrefslogtreecommitdiff
path: root/tests/Jellyfin.Server.Integration.Tests/Controllers/ActivityLogControllerTests.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2023-09-18 17:55:52 +0200
committerBond_009 <bond.009@outlook.com>2023-09-18 17:55:52 +0200
commit03b6adf068f007a66abbda515be940e702849d6b (patch)
treeb9918cfe31f712d11f382245dbfd725c7effac0a /tests/Jellyfin.Server.Integration.Tests/Controllers/ActivityLogControllerTests.cs
parent5669955aca4e7f187c0849095b35a5f93325d812 (diff)
Fix xUnit1030: Do not call ConfigureAwait in test method
Diffstat (limited to 'tests/Jellyfin.Server.Integration.Tests/Controllers/ActivityLogControllerTests.cs')
-rw-r--r--tests/Jellyfin.Server.Integration.Tests/Controllers/ActivityLogControllerTests.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Jellyfin.Server.Integration.Tests/Controllers/ActivityLogControllerTests.cs b/tests/Jellyfin.Server.Integration.Tests/Controllers/ActivityLogControllerTests.cs
index be89fbc9a..96ca96558 100644
--- a/tests/Jellyfin.Server.Integration.Tests/Controllers/ActivityLogControllerTests.cs
+++ b/tests/Jellyfin.Server.Integration.Tests/Controllers/ActivityLogControllerTests.cs
@@ -19,9 +19,9 @@ namespace Jellyfin.Server.Integration.Tests.Controllers
public async Task ActivityLog_GetEntries_Ok()
{
var client = _factory.CreateClient();
- client.DefaultRequestHeaders.AddAuthHeader(_accessToken ??= await AuthHelper.CompleteStartupAsync(client).ConfigureAwait(false));
+ client.DefaultRequestHeaders.AddAuthHeader(_accessToken ??= await AuthHelper.CompleteStartupAsync(client));
- var response = await client.GetAsync("System/ActivityLog/Entries").ConfigureAwait(false);
+ var response = await client.GetAsync("System/ActivityLog/Entries");
Assert.Equal(HttpStatusCode.OK, response.StatusCode);
Assert.Equal(MediaTypeNames.Application.Json, response.Content.Headers.ContentType?.MediaType);