Пример #1
0
 public GitHubWebhookEndpointTests()
 {
     testServer = new GitHubClientTestServer();
     httpClient = testServer.CreateClient();
 }
 public GitHubWebhookEndpointTests()
 {
     testServer      = new GitHubClientTestServer();
     httpClient      = testServer.CreateClient();
     testWebhookData = JToken.Parse(File.ReadAllTextAsync("Controllers/Data/TestGitHubWebhook1.json").Result);
 }