diff options
| author | JPVenson <github@jpb.email> | 2024-11-14 10:14:41 +0000 |
|---|---|---|
| committer | JPVenson <github@jpb.email> | 2024-11-14 10:14:41 +0000 |
| commit | aea255f91026598c297d11f032cc483b8608616d (patch) | |
| tree | 9d1ba19fb8cdb9cb19d205168d0631537ffb0399 /tests/Jellyfin.Server.Integration.Tests/Controllers/LibraryStructureControllerTests.cs | |
| parent | 432cfba2e2516709dfaea004a2d74095aac6a6f3 (diff) | |
Deterministic tests my ***
Diffstat (limited to 'tests/Jellyfin.Server.Integration.Tests/Controllers/LibraryStructureControllerTests.cs')
| -rw-r--r-- | tests/Jellyfin.Server.Integration.Tests/Controllers/LibraryStructureControllerTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Jellyfin.Server.Integration.Tests/Controllers/LibraryStructureControllerTests.cs b/tests/Jellyfin.Server.Integration.Tests/Controllers/LibraryStructureControllerTests.cs index dc8c33c73..6b749f0a8 100644 --- a/tests/Jellyfin.Server.Integration.Tests/Controllers/LibraryStructureControllerTests.cs +++ b/tests/Jellyfin.Server.Integration.Tests/Controllers/LibraryStructureControllerTests.cs @@ -77,7 +77,7 @@ public sealed class LibraryStructureControllerTests : IClassFixture<JellyfinAppl }; using var createResponse = await client.PostAsJsonAsync("Library/VirtualFolders?name=test&refreshLibrary=true", createBody, _jsonOptions); - Assert.Equal(HttpStatusCode.NoContent, createResponse.StatusCode); + Assert.True(createResponse.StatusCode == HttpStatusCode.NoContent, $"Error: {await createResponse.Content.ReadAsStringAsync()}"); using var response = await client.GetAsync("Library/VirtualFolders"); Assert.Equal(HttpStatusCode.OK, response.StatusCode); |
