diff options
| author | Cody Robibero <cody@robibe.ro> | 2024-04-21 10:54:49 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-21 10:54:49 -0600 |
| commit | 27fae3dd040b7e0a23f79e74bc1ee4c99595e5b8 (patch) | |
| tree | c0cd9bac646b02c1cdd2f0ca18400e4d222a52ec /tests | |
| parent | 43569082f9447413ce42cb251fbe528133a9837c (diff) | |
Limit sessions per user (#11370)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/Jellyfin.Server.Integration.Tests/Controllers/SessionControllerTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Jellyfin.Server.Integration.Tests/Controllers/SessionControllerTests.cs b/tests/Jellyfin.Server.Integration.Tests/Controllers/SessionControllerTests.cs index b9def13f8..ab68884f9 100644 --- a/tests/Jellyfin.Server.Integration.Tests/Controllers/SessionControllerTests.cs +++ b/tests/Jellyfin.Server.Integration.Tests/Controllers/SessionControllerTests.cs @@ -21,7 +21,7 @@ public class SessionControllerTests : IClassFixture<JellyfinApplicationFactory> var client = _factory.CreateClient(); client.DefaultRequestHeaders.AddAuthHeader(_accessToken ??= await AuthHelper.CompleteStartupAsync(client)); - using var response = await client.GetAsync($"Session/Sessions?userId={Guid.NewGuid()}"); + using var response = await client.GetAsync($"Sessions?controllableByUserId={Guid.NewGuid()}"); Assert.Equal(HttpStatusCode.NotFound, response.StatusCode); } } |
