Release v0.31 - Check yo' self! (#1851)

* Fix whitespace/formatting with /FormatCode build option

* Update release notes

* fix a few failing integration tests

* Adjust required fields on UpdateCheckRun and NewCheckRun request models and fix tests
Tidy up field accessors and XmlDoc comments

* Update date in ReleaseNotes

* Keeping request models simple (avoid inheritance) - makes it easier when we move to generated models
This commit is contained in:
Ryan Gribble
2018-07-21 18:12:42 +10:00
committed by GitHub
parent c5d5df5b08
commit 101522070d
21 changed files with 173 additions and 83 deletions

View File

@@ -98,8 +98,9 @@ namespace Octokit.Tests.Integration.Reactive
var checkRun = await _githubAppInstallation.Check.Run.Create(repoContext.RepositoryOwner, repoContext.RepositoryName, newCheckRun);
// Update the check run
var update = new CheckRunUpdate("new-name")
var update = new CheckRunUpdate
{
Name = "new-name",
Status = CheckStatus.InProgress
};
var result = await _githubAppInstallation.Check.Run.Update(repoContext.RepositoryOwner, repoContext.RepositoryName, checkRun.Id, update);
@@ -129,8 +130,9 @@ namespace Octokit.Tests.Integration.Reactive
var checkRun = await _githubAppInstallation.Check.Run.Create(repoContext.RepositoryId, newCheckRun);
// Update the check run
var update = new CheckRunUpdate("new-name")
var update = new CheckRunUpdate
{
Name = "new-name",
Status = CheckStatus.InProgress
};
var result = await _githubAppInstallation.Check.Run.Update(repoContext.RepositoryId, checkRun.Id, update);