diff options
| author | cvium <clausvium@gmail.com> | 2021-11-09 16:00:14 +0100 |
|---|---|---|
| committer | cvium <clausvium@gmail.com> | 2021-11-09 16:00:14 +0100 |
| commit | 2b02b53fc03341a03f3339afd9aae40280a12e1c (patch) | |
| tree | 088adda39016911626fffab1f8414b980c57464e /tests/Jellyfin.Server.Integration.Tests/Controllers | |
| parent | 996500b2f805e3f46e36f52cff2c80794a0390c6 (diff) | |
| parent | 04040b25e03295d9268fd7bc38ffce8f27f5c004 (diff) | |
Merge branch 'master' into dlnope_never_again
Diffstat (limited to 'tests/Jellyfin.Server.Integration.Tests/Controllers')
| -rw-r--r-- | tests/Jellyfin.Server.Integration.Tests/Controllers/DashboardControllerTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Jellyfin.Server.Integration.Tests/Controllers/DashboardControllerTests.cs b/tests/Jellyfin.Server.Integration.Tests/Controllers/DashboardControllerTests.cs index 827365363..3396a94e5 100644 --- a/tests/Jellyfin.Server.Integration.Tests/Controllers/DashboardControllerTests.cs +++ b/tests/Jellyfin.Server.Integration.Tests/Controllers/DashboardControllerTests.cs @@ -40,7 +40,7 @@ namespace Jellyfin.Server.Integration.Tests.Controllers Assert.Equal(HttpStatusCode.OK, response.StatusCode); Assert.Equal(MediaTypeNames.Text.Html, response.Content.Headers.ContentType?.MediaType); StreamReader reader = new StreamReader(typeof(TestPlugin).Assembly.GetManifestResourceStream("Jellyfin.Server.Integration.Tests.TestPage.html")!); - Assert.Equal(await response.Content.ReadAsStringAsync(), reader.ReadToEnd()); + Assert.Equal(await response.Content.ReadAsStringAsync().ConfigureAwait(false), await reader.ReadToEndAsync().ConfigureAwait(false)); } [Fact] |
