diff options
| author | Martin Vandenbussche <26136934+MaVdbussche@users.noreply.github.com> | 2024-01-18 18:38:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-18 18:38:41 +0100 |
| commit | e0cafe418c3890f62736bc418298d6d7df2f38fb (patch) | |
| tree | f22c2550f09289876c11f98375d0eb3906e2b593 /tests/Jellyfin.Server.Integration.Tests/AuthHelper.cs | |
| parent | 27ab3ef029cc65d3a60812615350de8cd2f5fda4 (diff) | |
| parent | a884b1f7869436fb373d71106330ab1db79cee11 (diff) | |
Merge branch 'master' into fix-trailers_urls
Diffstat (limited to 'tests/Jellyfin.Server.Integration.Tests/AuthHelper.cs')
| -rw-r--r-- | tests/Jellyfin.Server.Integration.Tests/AuthHelper.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Jellyfin.Server.Integration.Tests/AuthHelper.cs b/tests/Jellyfin.Server.Integration.Tests/AuthHelper.cs index 4e8aec9f1..2f2149504 100644 --- a/tests/Jellyfin.Server.Integration.Tests/AuthHelper.cs +++ b/tests/Jellyfin.Server.Integration.Tests/AuthHelper.cs @@ -7,6 +7,7 @@ using System.Text.Json; using System.Threading.Tasks; using Jellyfin.Api.Models.StartupDtos; using Jellyfin.Api.Models.UserDtos; +using Jellyfin.Extensions; using Jellyfin.Extensions.Json; using MediaBrowser.Model.Dto; using Xunit; @@ -56,7 +57,7 @@ namespace Jellyfin.Server.Integration.Tests public static async Task<BaseItemDto> GetRootFolderDtoAsync(HttpClient client, Guid userId = default) { - if (userId.Equals(default)) + if (userId.IsEmpty()) { var userDto = await GetUserDtoAsync(client); userId = userDto.Id; |
