Log contents on api errors during tests.

This commit is contained in:
Taloth Saldono 2020-06-01 15:01:40 +02:00 committed by Qstick
parent 4b25ef6deb
commit 021e7b8163
1 changed files with 1 additions and 1 deletions

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