diff --git a/tests/Tgstation.Server.Tests/Live/Instance/EngineTest.cs b/tests/Tgstation.Server.Tests/Live/Instance/EngineTest.cs index a2f8249544..ffdaeb63e4 100644 --- a/tests/Tgstation.Server.Tests/Live/Instance/EngineTest.cs +++ b/tests/Tgstation.Server.Tests/Live/Instance/EngineTest.cs @@ -93,7 +93,7 @@ namespace Tgstation.Server.Tests.Live.Instance } else { - var masterBranch = await TestingGitHubService.RealTestClient.Repository.Branch.Get("OpenDreamProject", "OpenDream", "master"); + var masterBranch = await TestingGitHubService.RealClient.Repository.Branch.Get("OpenDreamProject", "OpenDream", "master"); engineVersion = new EngineVersion { diff --git a/tests/Tgstation.Server.Tests/Live/TestingGitHubService.cs b/tests/Tgstation.Server.Tests/Live/TestingGitHubService.cs index f1b3c8d95a..d104dbd6d3 100644 --- a/tests/Tgstation.Server.Tests/Live/TestingGitHubService.cs +++ b/tests/Tgstation.Server.Tests/Live/TestingGitHubService.cs @@ -28,7 +28,7 @@ namespace Tgstation.Server.Tests.Live readonly ICryptographySuite cryptographySuite; readonly ILogger logger; - public static readonly IGitHubClient RealTestClient; + public static readonly IGitHubClient RealClient; static TestingGitHubService() { @@ -39,7 +39,7 @@ namespace Tgstation.Server.Tests.Live }); var gitHubClientFactory = new GitHubClientFactory(new AssemblyInformationProvider(), Mock.Of>(), mockOptions.Object); - RealTestClient = gitHubClientFactory.CreateClient(); + RealClient = gitHubClientFactory.CreateClient(); } public static async Task InitializeAndInject(CancellationToken cancellationToken) @@ -47,7 +47,7 @@ namespace Tgstation.Server.Tests.Live Release targetRelease; do { - var releases = await RealTestClient + var releases = await RealClient .Repository .Release .GetAll("tgstation", "tgstation-server") @@ -62,12 +62,12 @@ namespace Tgstation.Server.Tests.Live { TestLiveServer.TestUpdateVersion, targetRelease } }; - var testCommitTask = RealTestClient + var testCommitTask = RealClient .Repository .Commit .Get("Cyberboss", "common_core", "4b4926dfaf6295f19f8ae7abf03cb357dbb05b29") .WaitAsync(cancellationToken); - testPr = await RealTestClient + testPr = await RealClient .PullRequest .Get("Cyberboss", "common_core", 2) .WaitAsync(cancellationToken);