diff --git a/src/Tgstation.Server.Api/ApiHeaders.cs b/src/Tgstation.Server.Api/ApiHeaders.cs
index 5ada556992..34aa8a0476 100644
--- a/src/Tgstation.Server.Api/ApiHeaders.cs
+++ b/src/Tgstation.Server.Api/ApiHeaders.cs
@@ -20,32 +20,32 @@ namespace Tgstation.Server.Api
///
/// The header key.
///
- public static readonly string ApiVersionHeader = "Api";
+ public const string ApiVersionHeader = "Api";
///
/// The header key.
///
- public static readonly string InstanceIdHeader = "Instance";
+ public const string InstanceIdHeader = "Instance";
///
/// The header key.
///
- public static readonly string OAuthProviderHeader = "OAuthProvider";
+ public const string OAuthProviderHeader = "OAuthProvider";
///
/// The JWT authentication header scheme
///
- public static readonly string BearerAuthenticationScheme = "Bearer";
+ public const string BearerAuthenticationScheme = "Bearer";
///
/// The JWT authentication header scheme
///
- public static readonly string BasicAuthenticationScheme = "Basic";
+ public const string BasicAuthenticationScheme = "Basic";
///
/// The JWT authentication header scheme
///
- public static readonly string OAuthAuthenticationScheme = "OAuth";
+ public const string OAuthAuthenticationScheme = "OAuth";
///
/// The current
diff --git a/tests/Tgstation.Server.Host.Tests/Core/TestGitHubClientFactory.cs b/tests/Tgstation.Server.Host.Tests/Core/TestGitHubClientFactory.cs
index 3c00447fc4..7a8c565f6b 100644
--- a/tests/Tgstation.Server.Host.Tests/Core/TestGitHubClientFactory.cs
+++ b/tests/Tgstation.Server.Host.Tests/Core/TestGitHubClientFactory.cs
@@ -36,8 +36,7 @@ namespace Tgstation.Server.Host.Core.Tests
public async Task TestCreateTokenClient()
{
var mockApp = new Mock();
- mockApp.SetupGet(x => x.Version).Returns(new Version()).Verifiable();
- mockApp.SetupGet(x => x.VersionPrefix).Returns("TGSTests").Verifiable();
+ mockApp.SetupGet(x => x.ProductInfoHeaderValue).Returns(new ProductInfoHeaderValue("TGSTests", "1.2.3")).Verifiable();
var factory = new GitHubClientFactory(mockApp.Object);