示例#1
0
        public async Task GetIDMUsersTest()
        {
            _claims = new Claim[2] {
                new Claim(ClaimTypes.Role, RoleNames.MonafasatAdmin),
                new Claim(IdentityConfigs.Claims.SelectedGovAgency, "022001000000,022001000000")
            };
            _branchController = _branchController.WithIdentity(_claims);

            var response = await _branchController.GetIDMUsers();

            Assert.NotNull(response);
            Assert.NotEmpty(response);
        }