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:
Lehonti Ramos
2023-08-11 18:53:51 +02:00
committed by GitHub
parent 6ab43b2d41
commit d46527d143
29 changed files with 166 additions and 166 deletions
@@ -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()
{