The Free Software Media System - Server Backend & API
Fixed tests message
JPVensonc5488f8eadd8
diff --git a/tests/Jellyfin.Server.Integration.Tests/Controllers/LibraryStructureControllerTests.cs b/tests/Jellyfin.Server.Integration.Tests/Controllers/LibraryStructureControllerTests.csindex acb330ca70..dc8c33c73f 100644--- a/tests/Jellyfin.Server.Integration.Tests/Controllers/LibraryStructureControllerTests.cs+++ b/tests/Jellyfin.Server.Integration.Tests/Controllers/LibraryStructureControllerTests.cs@@ -120,6 +120,6 @@ public sealed class LibraryStructureControllerTests : IClassFixture<JellyfinApplclient.DefaultRequestHeaders.AddAuthHeader(_accessToken ??= await AuthHelper.CompleteStartupAsync(client));using var response = await client.DeleteAsync("Library/VirtualFolders?name=test&refreshLibrary=true");- Assert.True(response.StatusCode == HttpStatusCode.NoContent, "DeleteFailed: " + response.Content.ReadAsStringAsync());+ Assert.True(response.StatusCode == HttpStatusCode.NoContent, "DeleteFailed: " + await response.Content.ReadAsStringAsync());}}