mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-05 03:30:34 +00:00
corrected a couple of tests which were not specifying a Mode value
This commit is contained in:
@@ -41,7 +41,8 @@ public class TreeClientTests : IDisposable
|
||||
{
|
||||
Type = TreeType.Blob,
|
||||
Path = "README.md",
|
||||
Sha = createdBlob.Sha
|
||||
Sha = createdBlob.Sha,
|
||||
Mode = FileMode.File
|
||||
});
|
||||
|
||||
var result = await _fixture.Create(_owner, _repository.Name, newTree);
|
||||
@@ -74,7 +75,8 @@ public class TreeClientTests : IDisposable
|
||||
{
|
||||
Type = TreeType.Blob,
|
||||
Path = "README.md",
|
||||
Sha = blobResult.Sha
|
||||
Sha = blobResult.Sha,
|
||||
Mode = FileMode.File
|
||||
});
|
||||
|
||||
var tree = await _fixture.Create(_owner, _repository.Name, newTree);
|
||||
|
||||
Reference in New Issue
Block a user