public async Task Should_return_correct_organisation()
    {
      long id = 7794529429;
      var api = new EventbriteApi();
      api.SetOAuthToken("BKKRDKVUVRC5WG4HAVLT");
      var request = new GetOrganizerByIdRequest(id);
      var response = await api.Execute(request, CancellationToken.None);

      Assert.Equal(id, response.Id);
    }
Ejemplo n.º 2
0
        public async Task Should_return_correct_organisation()
        {
            long id  = 7794529429;
            var  api = new EventbriteApi();

            api.SetOAuthToken("BKKRDKVUVRC5WG4HAVLT");
            var request  = new GetOrganizerByIdRequest(id);
            var response = await api.Execute(request, CancellationToken.None);

            Assert.Equal(id, response.Id);
        }