mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-05-29 09:22:25 +00:00
Get the SHA-1 of a commit reference
Updated RepositoryCommitsClients and unit/integration tests
This commit is contained in:
@@ -87,6 +87,14 @@ public class RepositoryCommitsClientTests
|
||||
.Where(file => file.Status == "renamed")
|
||||
.All(file => string.IsNullOrEmpty(file.PreviousFileName) == false));
|
||||
}
|
||||
|
||||
[IntegrationTest]
|
||||
public async Task CanGetSha1()
|
||||
{
|
||||
var sha1 = await _fixture.Sha1("octokit", "octokit.net", "master");
|
||||
|
||||
Assert.NotNull(sha1);
|
||||
}
|
||||
}
|
||||
|
||||
public class TestsWithNewRepository : IDisposable
|
||||
|
||||
Reference in New Issue
Block a user