diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2021-11-09 14:02:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-09 14:02:38 +0100 |
| commit | ca6211ad61881f298c054ad418c3a099e63be308 (patch) | |
| tree | ba5d5631e2ec3363ababb6967ea1b8f2a859213b /tests/Jellyfin.Server.Integration.Tests/Controllers/DashboardControllerTests.cs | |
| parent | 6f85e3047591e716d732a648466c700769404f7c (diff) | |
| parent | 5726535a262ce5f671bb0b74dd00c485d17633f0 (diff) | |
Merge pull request #6813 from Bond-009/warn54
Fix some warnings
Diffstat (limited to 'tests/Jellyfin.Server.Integration.Tests/Controllers/DashboardControllerTests.cs')
| -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] |
