コード例 #1
0
        public override void SetUp()
        {
            Factory = new TimeTrackingWebApplicationFactory();
            base.SetUp();
            var token = GetJwtToken();

            AddAuth(token);
        }
コード例 #2
0
        public override void SetUp()
        {
            Factory = new TimeTrackingWebApplicationFactory();
            base.SetUp();
            var claims = new List <Claim>()
            {
                new Claim(Constants.Strings.JwtClaimIdentifiers.Id, Guid.NewGuid().ToString())
            };
            var token = GetJwtToken(claims);

            AddAuth(token);
        }