diff options
| author | crobibero <cody@robibe.ro> | 2020-10-28 17:57:16 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-10-28 17:57:16 -0600 |
| commit | 8b83e4e972243db618972e33705b959bf98ca9f4 (patch) | |
| tree | fe87cc298a7b8887e359cecdd910b7eeca2ae7b7 | |
| parent | 981f000437467832d78b1eb36d9c449adb38e814 (diff) | |
Fix tests
| -rw-r--r-- | tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs b/tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs index 4ea5094b6..33534abd2 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.Auth var authorizationInfo = _fixture.Create<AuthorizationInfo>(); authorizationInfo.User = _fixture.Create<User>(); authorizationInfo.User.SetPermission(PermissionKind.IsAdministrator, isAdmin); + authorizationInfo.IsApiKey = false; _jellyfinAuthServiceMock.Setup( a => a.Authenticate( |
