mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-03 03:01:31 +00:00
More tests update
This commit is contained in:
@@ -20,7 +20,7 @@ public class ReleasesClientTests
|
||||
public TheGetReleasesMethod()
|
||||
{
|
||||
var github = Helper.GetAuthenticatedClient();
|
||||
_releaseClient = github.Release;
|
||||
_releaseClient = github.Repository.Release;
|
||||
|
||||
_context = github.CreateRepositoryContext("public-repo").Result;
|
||||
}
|
||||
@@ -84,7 +84,7 @@ public class ReleasesClientTests
|
||||
public TheEditMethod()
|
||||
{
|
||||
_github = Helper.GetAuthenticatedClient();
|
||||
_releaseClient = _github.Release;
|
||||
_releaseClient = _github.Repository.Release;
|
||||
|
||||
_context = _github.CreateRepositoryContext("public-repo").Result;
|
||||
}
|
||||
@@ -143,7 +143,7 @@ public class ReleasesClientTests
|
||||
public TheUploadAssetMethod()
|
||||
{
|
||||
_github = Helper.GetAuthenticatedClient();
|
||||
_releaseClient = _github.Release;
|
||||
_releaseClient = _github.Repository.Release;
|
||||
|
||||
_context = _github.CreateRepositoryContext("public-repo").Result;
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace Octokit.Tests.Reactive
|
||||
|
||||
client.Get("fake", "repo", 1);
|
||||
|
||||
gitHubClient.Release.Received(1).Get("fake", "repo", 1);
|
||||
gitHubClient.Repository.Release.Received(1).Get("fake", "repo", 1);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user