mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-06 07:16:09 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user