Fix failing tests

This commit is contained in:
Jordan Dominion
2024-09-03 21:56:50 -04:00
parent b2c8f2fa90
commit 9fe0c97d2a
2 changed files with 4 additions and 2 deletions
@@ -40,6 +40,6 @@ namespace Tgstation.Server.Host.Components.Interop.Topic
/// <summary>
/// The number of connected clients to the game. Added in Interop 5.10.0.
/// </summary>
public int? ClientCount { get; }
public int? ClientCount { get; set; }
}
}
@@ -53,7 +53,9 @@ namespace Tgstation.Server.Host.Utils.GitHub
/// <inheritdoc />
public async ValueTask<IAuthenticatedGitHubService> CreateService(string accessToken, CancellationToken cancellationToken)
=> CreateServiceImpl(
await gitHubClientFactory.CreateClient(accessToken, cancellationToken));
await gitHubClientFactory.CreateClient(
accessToken ?? throw new ArgumentNullException(nameof(accessToken)),
cancellationToken));
/// <inheritdoc />
public async ValueTask<IAuthenticatedGitHubService?> CreateService(string accessString, RepositoryIdentifier repositoryIdentifier, CancellationToken cancellationToken)