mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-24 02:02:29 -04:00
Updated test dbg message
This commit is contained in:
parent
056dcf7e81
commit
7d137a8e8a
@ -120,14 +120,6 @@ 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");
|
||||
try
|
||||
{
|
||||
Assert.Equal(HttpStatusCode.NoContent, response.StatusCode);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
Console.WriteLine("DeleteFailed: " + response.Content.ReadAsStringAsync());
|
||||
throw;
|
||||
}
|
||||
Assert.True(response.StatusCode == HttpStatusCode.NoContent, "DeleteFailed: " + response.Content.ReadAsStringAsync());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user