Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mshakirdfe committed Sep 16, 2024
1 parent 905fcae commit 43892f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ ISystemClock clock

protected override Task<AuthenticateResult> HandleAuthenticateAsync()
{
List<Claim> claims = new() { new(ClaimTypes.Name, "Name") };
List<Claim> claims = [new(ClaimTypes.Name, "Name"), new(ClaimTypes.Role, "conversionRole"), new(ClaimTypes.Role, "transferRoles")];
ClaimsIdentity identity = new(claims, "Test");
ClaimsPrincipal principal = new(identity);
AuthenticationTicket ticket = new(principal, "Test");
Expand Down

0 comments on commit 43892f8

Please sign in to comment.