mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-04 07:44:18 +00:00
Log contents on api errors during tests.
(cherry picked from commit f2e1b4e43549695afacee5c87cca368e8fa30905) Closes #295
This commit is contained in:
@@ -55,7 +55,7 @@ namespace NzbDrone.Integration.Test.Client
|
||||
|
||||
response.ErrorMessage.Should().BeNullOrWhiteSpace();
|
||||
|
||||
response.StatusCode.Should().Be(statusCode);
|
||||
response.StatusCode.Should().Be(statusCode, response.Content ?? string.Empty);
|
||||
|
||||
return response.Content;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user