diff options
| author | Bond-009 <bond.009@outlook.com> | 2023-10-03 11:05:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-03 11:05:10 +0200 |
| commit | 14b06ecbe29f6b9120048ea6d0b993778921a6a6 (patch) | |
| tree | bfbca697dbbeac2a02ca581c25d2affded681653 /tests | |
| parent | 1514b5d0523928b83e802d0e77ab074528b432e3 (diff) | |
| parent | ab0790271aac8846430c9689dff647eb4ce55078 (diff) | |
Merge pull request #10261 from barronpm/ihostlifetime
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/Jellyfin.Server.Integration.Tests/JellyfinApplicationFactory.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/Jellyfin.Server.Integration.Tests/JellyfinApplicationFactory.cs b/tests/Jellyfin.Server.Integration.Tests/JellyfinApplicationFactory.cs index 55bc43455f..1c87d11f18 100644 --- a/tests/Jellyfin.Server.Integration.Tests/JellyfinApplicationFactory.cs +++ b/tests/Jellyfin.Server.Integration.Tests/JellyfinApplicationFactory.cs @@ -2,7 +2,6 @@ using System; using System.Collections.Concurrent; using System.Globalization; using System.IO; -using System.Threading; using Emby.Server.Implementations; using Jellyfin.Server.Extensions; using Jellyfin.Server.Helpers; @@ -105,7 +104,7 @@ namespace Jellyfin.Server.Integration.Tests var appHost = (TestAppHost)testServer.Services.GetRequiredService<IApplicationHost>(); appHost.ServiceProvider = testServer.Services; appHost.InitializeServices().GetAwaiter().GetResult(); - appHost.RunStartupTasksAsync(CancellationToken.None).GetAwaiter().GetResult(); + appHost.RunStartupTasksAsync().GetAwaiter().GetResult(); return testServer; } |
