corrected a couple of tests which were not specifying a Mode value

This commit is contained in:
Brendan Forster
2013-12-24 12:09:32 +10:30
parent 1a08de318b
commit d361d3a99e
2 changed files with 6 additions and 4 deletions
@@ -55,14 +55,14 @@ public class ReferencesClientTests : IDisposable
Assert.NotEmpty(list);
}
[IntegrationTest(Skip="See ")]
[IntegrationTest(Skip = "See https://github.com/octokit/octokit.net/issues/242 for making this test pass")]
public async Task CanGetErrorForInvalidNamespace()
{
await AssertEx.Throws<Exception>(
async () => { await _fixture.GetAllForSubNamespace("octokit", "octokit.net", "666"); });
}
[IntegrationTest(Skip = "Investigating a 'Server Error' API response when creating a commit")]
[IntegrationTest]
public async Task CanCreateAReference()
{
var blob = new NewBlob
@@ -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);