mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
Fix xUnit1030: Do not call ConfigureAwait in test method
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user