public void GivenZendeskUser()
 {
     _user =
         _client.Users.Post(new UserRequest
         {
             Item = new User { 
                 Name = "TestUser-" + Guid.NewGuid(),
                 Email = string.Format("{0}@email.com", DateTime.Now.Ticks)
             }
         }).Item;
 }
Ejemplo n.º 2
0
        public void WhenISearchForAUserByTheirEmailAddress()
        {
            var response = _client.Search.Find(new ZendeskQuery<User>().WithCustomFilter("email", _usersEmail));

            _user = response.Results.Single();
        }