aboutsummaryrefslogtreecommitdiff
path: root/tests/Jellyfin.Server.Integration.Tests/Controllers/SessionControllerTests.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2023-09-19 00:27:40 +0200
committerGitHub <noreply@github.com>2023-09-19 00:27:40 +0200
commit72928f74c0db13d89368fb95b1b9e2e8ae56cfc8 (patch)
tree92b4eb139cc595d1bdf2f5dd720e96830db640a3 /tests/Jellyfin.Server.Integration.Tests/Controllers/SessionControllerTests.cs
parent043fc387e08d5828864c8dcf4f5bcc2a64ecf761 (diff)
parent03b6adf068f007a66abbda515be940e702849d6b (diff)
Merge pull request #10241 from jellyfin/renovate/xunit-dotnet-monorepo
Diffstat (limited to 'tests/Jellyfin.Server.Integration.Tests/Controllers/SessionControllerTests.cs')
-rw-r--r--tests/Jellyfin.Server.Integration.Tests/Controllers/SessionControllerTests.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Jellyfin.Server.Integration.Tests/Controllers/SessionControllerTests.cs b/tests/Jellyfin.Server.Integration.Tests/Controllers/SessionControllerTests.cs
index cb0a829e8..b9def13f8 100644
--- a/tests/Jellyfin.Server.Integration.Tests/Controllers/SessionControllerTests.cs
+++ b/tests/Jellyfin.Server.Integration.Tests/Controllers/SessionControllerTests.cs
@@ -19,9 +19,9 @@ public class SessionControllerTests : IClassFixture<JellyfinApplicationFactory>
public async Task GetSessions_NonExistentUserId_NotFound()
{
var client = _factory.CreateClient();
- client.DefaultRequestHeaders.AddAuthHeader(_accessToken ??= await AuthHelper.CompleteStartupAsync(client).ConfigureAwait(false));
+ client.DefaultRequestHeaders.AddAuthHeader(_accessToken ??= await AuthHelper.CompleteStartupAsync(client));
- using var response = await client.GetAsync($"Session/Sessions?userId={Guid.NewGuid()}").ConfigureAwait(false);
+ using var response = await client.GetAsync($"Session/Sessions?userId={Guid.NewGuid()}");
Assert.Equal(HttpStatusCode.NotFound, response.StatusCode);
}
}