示例#1
0
        public async Task DeleteRoleThatExists_Success()
        {
            string rName = _uniqueKeys.GetKey("Role");

            AppRole ar = new AppRole(rName);

            Assert.True(await _appRoleAuthEngine.SaveRole(ar));

            // Delete it.
            Assert.True(await _appRoleAuthEngine.DeleteRole(ar));
        }