Log contents on api errors during tests.

(cherry picked from commit f2e1b4e43549695afacee5c87cca368e8fa30905)
This commit is contained in:
Taloth Saldono 2020-06-01 15:01:40 +02:00 committed by Qstick
commit ef230d1636

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