The Free Software Media System - Server Backend & API
Fix tests
crobibero8b83e4e97224
diff --git a/tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs b/tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.csindex 4ea5094b66..33534abd2f 100644--- a/tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs+++ b/tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs@@ -128,6 +128,7 @@ namespace Jellyfin.Api.Tests.Authvar authorizationInfo = _fixture.Create<AuthorizationInfo>();authorizationInfo.User = _fixture.Create<User>();authorizationInfo.User.SetPermission(PermissionKind.IsAdministrator, isAdmin);+ authorizationInfo.IsApiKey = false;_jellyfinAuthServiceMock.Setup(a => a.Authenticate(