diff options
| author | JPVenson <github@jpb.email> | 2024-11-14 09:04:35 +0000 |
|---|---|---|
| committer | JPVenson <github@jpb.email> | 2024-11-14 09:04:35 +0000 |
| commit | 056dcf7e81049a9d92064d5f91dadfbcf9093a63 (patch) | |
| tree | 080892949e26f7cac59bd0d22c13044439611874 /tests | |
| parent | 5f2be93e1900c641a334a28bb73a4aed70ee760b (diff) | |
Added Pipeline debug code
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/Jellyfin.Server.Integration.Tests/Controllers/LibraryStructureControllerTests.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/Jellyfin.Server.Integration.Tests/Controllers/LibraryStructureControllerTests.cs b/tests/Jellyfin.Server.Integration.Tests/Controllers/LibraryStructureControllerTests.cs index 0376f57cc..9d39b4bfa 100644 --- a/tests/Jellyfin.Server.Integration.Tests/Controllers/LibraryStructureControllerTests.cs +++ b/tests/Jellyfin.Server.Integration.Tests/Controllers/LibraryStructureControllerTests.cs @@ -120,6 +120,14 @@ public sealed class LibraryStructureControllerTests : IClassFixture<JellyfinAppl client.DefaultRequestHeaders.AddAuthHeader(_accessToken ??= await AuthHelper.CompleteStartupAsync(client)); using var response = await client.DeleteAsync("Library/VirtualFolders?name=test&refreshLibrary=true"); - Assert.Equal(HttpStatusCode.NoContent, response.StatusCode); + try + { + Assert.Equal(HttpStatusCode.NoContent, response.StatusCode); + } + catch (Exception) + { + Console.WriteLine("DeleteFailed: " + response.Content.ReadAsStringAsync()); + throw; + } } } |
