Log contents on api errors during tests.

pull/4508/head
Taloth Saldono 5 years ago committed by Qstick
parent 4b25ef6deb
commit 021e7b8163

@ -55,7 +55,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