aboutsummaryrefslogtreecommitdiff
path: root/tests/Jellyfin.Api.Tests/OpenApiSpecTests.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-11-15 13:12:43 -0700
committercrobibero <cody@robibe.ro>2020-11-15 13:12:43 -0700
commit4b15284324cf65bc916a3112b7fc61c958ac70c5 (patch)
treee125c2e1f04526509cc6f0c72e7e922c4276e02e /tests/Jellyfin.Api.Tests/OpenApiSpecTests.cs
parent7ff212576e1fba5980163bcc1cd97c29aadc635f (diff)
parent2f426dfc97677deffb60420078b20a7f5f03977e (diff)
Merge remote-tracking branch 'upstream/master' into bye-tvdb
Diffstat (limited to 'tests/Jellyfin.Api.Tests/OpenApiSpecTests.cs')
-rw-r--r--tests/Jellyfin.Api.Tests/OpenApiSpecTests.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Jellyfin.Api.Tests/OpenApiSpecTests.cs b/tests/Jellyfin.Api.Tests/OpenApiSpecTests.cs
index 3a85b5514..03ab56d1f 100644
--- a/tests/Jellyfin.Api.Tests/OpenApiSpecTests.cs
+++ b/tests/Jellyfin.Api.Tests/OpenApiSpecTests.cs
@@ -30,7 +30,7 @@ namespace Jellyfin.Api.Tests
// Assert
response.EnsureSuccessStatusCode();
- Assert.Equal("application/json; charset=utf-8", response.Content.Headers.ContentType.ToString());
+ Assert.Equal("application/json; charset=utf-8", response.Content.Headers.ContentType?.ToString());
// Write out for publishing
var responseBody = await response.Content.ReadAsStringAsync();