Injecting custom users and roles to integration tests. ... Claims.Add(new Claim(ClaimTypes.Role, "Admin")); return provider; }
確定! 回上一頁