Log contents on api errors during tests.

pull/3789/head
Taloth Saldono 5 years ago
parent 1e80361c3a
commit f2e1b4e435

@ -56,7 +56,7 @@ namespace NzbDrone.Integration.Test.Client
response.ErrorMessage.Should().BeNullOrWhiteSpace(); response.ErrorMessage.Should().BeNullOrWhiteSpace();
response.StatusCode.Should().Be(statusCode); response.StatusCode.Should().Be(statusCode, response.Content ?? string.Empty);
return response.Content; return response.Content;
} }

Loading…
Cancel
Save