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,7 +9,7 @@ namespace Octokit.Tests.Integration.Clients
{
public class TheGetMethod
{
IGitHubClient _github;
readonly IGitHubClient _github;
public TheGetMethod()
{
@@ -31,7 +31,7 @@ namespace Octokit.Tests.Integration.Clients
public class TheGetCurrentMethod
{
IGitHubClient _github;
readonly IGitHubClient _github;
public TheGetCurrentMethod()
{
@@ -53,7 +53,7 @@ namespace Octokit.Tests.Integration.Clients
public class TheGetAllInstallationsForCurrentMethod
{
IGitHubClient _github;
readonly IGitHubClient _github;
public TheGetAllInstallationsForCurrentMethod()
{
@@ -80,7 +80,7 @@ namespace Octokit.Tests.Integration.Clients
public class TheGetInstallationForCurrentMethod
{
IGitHubClient _github;
readonly IGitHubClient _github;
public TheGetInstallationForCurrentMethod()
{
@@ -109,7 +109,7 @@ namespace Octokit.Tests.Integration.Clients
public class TheGetAllInstallationsForCurrentUserMethod
{
IGitHubClient _github;
readonly IGitHubClient _github;
public TheGetAllInstallationsForCurrentUserMethod()
{
@@ -130,7 +130,7 @@ namespace Octokit.Tests.Integration.Clients
public class TheCreateInstallationTokenMethod
{
IGitHubClient _github;
readonly IGitHubClient _github;
public TheCreateInstallationTokenMethod()
{
@@ -154,7 +154,7 @@ namespace Octokit.Tests.Integration.Clients
public class TheGetOrganizationInstallationForCurrentMethod
{
IGitHubClient _github;
readonly IGitHubClient _github;
public TheGetOrganizationInstallationForCurrentMethod()
{
@@ -173,8 +173,8 @@ namespace Octokit.Tests.Integration.Clients
public class TheGetRepositoryInstallationForCurrentMethod
{
IGitHubClient _github;
IGitHubClient _githubAppInstallation;
readonly IGitHubClient _github;
readonly IGitHubClient _githubAppInstallation;
public TheGetRepositoryInstallationForCurrentMethod()
{
@@ -214,7 +214,7 @@ namespace Octokit.Tests.Integration.Clients
public class TheGetUserInstallationForCurrentMethod
{
IGitHubClient _github;
readonly IGitHubClient _github;
public TheGetUserInstallationForCurrentMethod()
{