mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 12:26:18 +00:00
Creates constructors for all Models.Response.
Resolves https://github.com/octokit/octokit.net/issues/677. Removes obscolete properties (gravatar). Makes Models.Response properties all be protected (most were already).
This commit is contained in:
@@ -277,7 +277,7 @@ namespace Octokit.Tests.Reactive
|
||||
[Fact]
|
||||
public async Task FetchesAllCommitsForPullRequest()
|
||||
{
|
||||
var commit = new PullRequestCommit();
|
||||
var commit = new PullRequestCommit(null, null, null, null, null, null, null, null);
|
||||
var expectedUrl = string.Format("repos/fake/repo/pulls/42/commits");
|
||||
var gitHubClient = Substitute.For<IGitHubClient>();
|
||||
var connection = Substitute.For<IConnection>();
|
||||
|
||||
Reference in New Issue
Block a user