Log contents on api errors during tests.

(cherry picked from commit f2e1b4e43549695afacee5c87cca368e8fa30905)

Closes #295
This commit is contained in:
bakerboy448
2021-07-03 22:33:50 -05:00
committed by Qstick
parent d34e588588
commit 27e799b624

View File

@@ -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;
}