mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-21 05:00:39 +02:00
Fix tests
This commit is contained in:
parent
c037d3536d
commit
4b6889615b
|
@ -45,7 +45,7 @@ namespace Jellyfin.Api.Tests
|
||||||
{
|
{
|
||||||
new Claim(ClaimTypes.Role, role),
|
new Claim(ClaimTypes.Role, role),
|
||||||
new Claim(ClaimTypes.Name, "jellyfin"),
|
new Claim(ClaimTypes.Name, "jellyfin"),
|
||||||
new Claim(InternalClaimTypes.UserId, Guid.Empty.ToString("N", CultureInfo.InvariantCulture)),
|
new Claim(InternalClaimTypes.UserId, Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture)),
|
||||||
new Claim(InternalClaimTypes.DeviceId, Guid.Empty.ToString("N", CultureInfo.InvariantCulture)),
|
new Claim(InternalClaimTypes.DeviceId, Guid.Empty.ToString("N", CultureInfo.InvariantCulture)),
|
||||||
new Claim(InternalClaimTypes.Device, "test"),
|
new Claim(InternalClaimTypes.Device, "test"),
|
||||||
new Claim(InternalClaimTypes.Client, "test"),
|
new Claim(InternalClaimTypes.Client, "test"),
|
||||||
|
|
Loading…
Reference in a new issue