mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 05:57:20 -04:00
Fix tests
This commit is contained in:
parent
981f000437
commit
8b83e4e972
1 changed files with 1 additions and 0 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue