mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-04 11:24:44 +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,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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user