diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2021-11-13 15:31:14 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-13 15:31:14 -0500 |
| commit | 761a4e8415b2fc1023679c24ddd66fabf237abec (patch) | |
| tree | 7524e612964a29e8c4db582fb59b2a5e9911a5f4 /tests | |
| parent | f0028c728f7f6f018e356fb6a82c126ff8684d0b (diff) | |
| parent | 4a28f46cac30e2e1fabc84016d710bcd309a5344 (diff) | |
Merge pull request #6837 from crobibero/auth-exceptionv10.8.0-alpha2
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs b/tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs index cd03958b6..6f5c0ed0c 100644 --- a/tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs +++ b/tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs @@ -132,6 +132,8 @@ namespace Jellyfin.Api.Tests.Auth authorizationInfo.User.AddDefaultPreferences(); authorizationInfo.User.SetPermission(PermissionKind.IsAdministrator, isAdmin); authorizationInfo.IsApiKey = false; + authorizationInfo.HasToken = true; + authorizationInfo.Token = "fake-token"; _jellyfinAuthServiceMock.Setup( a => a.Authenticate( |
