1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2025-01-04 22:40:51 +00:00

Log contents on api errors during tests.

This commit is contained in:
Taloth Saldono 2020-06-01 15:01:40 +02:00
parent 1e80361c3a
commit f2e1b4e435

View file

@ -56,7 +56,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;
}