mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 20:13:40 +00:00
Added readonly to fields that are never modified (#2759)
Co-authored-by: Lehonti Ramos <john@doe> Co-authored-by: Keegan Campbell <me@kfcampbell.com>
This commit is contained in:
@@ -9,8 +9,8 @@ namespace Octokit.Tests.Integration.Clients
|
||||
{
|
||||
public class TheGetMethod
|
||||
{
|
||||
IGitHubClient _github;
|
||||
IGitHubClient _githubAppInstallation;
|
||||
readonly IGitHubClient _github;
|
||||
readonly IGitHubClient _githubAppInstallation;
|
||||
|
||||
public TheGetMethod()
|
||||
{
|
||||
@@ -59,8 +59,8 @@ namespace Octokit.Tests.Integration.Clients
|
||||
|
||||
public class TheGetAllForReferenceMethod
|
||||
{
|
||||
IGitHubClient _github;
|
||||
IGitHubClient _githubAppInstallation;
|
||||
readonly IGitHubClient _github;
|
||||
readonly IGitHubClient _githubAppInstallation;
|
||||
|
||||
public TheGetAllForReferenceMethod()
|
||||
{
|
||||
@@ -107,8 +107,8 @@ namespace Octokit.Tests.Integration.Clients
|
||||
|
||||
public class TheUpdatePreferencesMethod
|
||||
{
|
||||
IGitHubClient _github;
|
||||
IGitHubClient _githubAppInstallation;
|
||||
readonly IGitHubClient _github;
|
||||
readonly IGitHubClient _githubAppInstallation;
|
||||
|
||||
public TheUpdatePreferencesMethod()
|
||||
{
|
||||
@@ -155,8 +155,8 @@ namespace Octokit.Tests.Integration.Clients
|
||||
|
||||
public class TheCreateMethod
|
||||
{
|
||||
IGitHubClient _github;
|
||||
IGitHubClient _githubAppInstallation;
|
||||
readonly IGitHubClient _github;
|
||||
readonly IGitHubClient _githubAppInstallation;
|
||||
|
||||
public TheCreateMethod()
|
||||
{
|
||||
@@ -215,8 +215,8 @@ namespace Octokit.Tests.Integration.Clients
|
||||
|
||||
public class TheRerequestMethod
|
||||
{
|
||||
IGitHubClient _github;
|
||||
IGitHubClient _githubAppInstallation;
|
||||
readonly IGitHubClient _github;
|
||||
readonly IGitHubClient _githubAppInstallation;
|
||||
|
||||
public TheRerequestMethod()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user