diff --git a/Octokit.Tests.Integration/Clients/StatisticsClientTests.cs b/Octokit.Tests.Integration/Clients/StatisticsClientTests.cs index ba252ce1..4b1f7357 100644 --- a/Octokit.Tests.Integration/Clients/StatisticsClientTests.cs +++ b/Octokit.Tests.Integration/Clients/StatisticsClientTests.cs @@ -72,6 +72,15 @@ namespace Octokit.Tests.Integration.Clients Assert.NotNull(weeklyCommitCounts.Owner); } + [IntegrationTest] + public async Task CanGetCommitPerHourPerDay() + { + var repository = await CreateRepository(); + await CommitToRepository(repository); + var hourlyCommits = await _client.Statistics.GetCommitPerHour(repository.Owner, repository.Name); + Assert.NotNull(hourlyCommits); + } + async Task CreateRepository() { var repoName = Helper.MakeNameWithTimestamp("public-repo");