From 250040aea1c087b91a96f33a96a798036c9acbe6 Mon Sep 17 00:00:00 2001 From: Beyley Thomas Date: Mon, 2 Sep 2024 21:36:47 -0700 Subject: [PATCH] Add required service to TestRefreshGameServer --- RefreshTests.GameServer/GameServer/TestRefreshGameServer.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RefreshTests.GameServer/GameServer/TestRefreshGameServer.cs b/RefreshTests.GameServer/GameServer/TestRefreshGameServer.cs index 3f6211d8..485affa3 100644 --- a/RefreshTests.GameServer/GameServer/TestRefreshGameServer.cs +++ b/RefreshTests.GameServer/GameServer/TestRefreshGameServer.cs @@ -28,7 +28,7 @@ protected override void SetupConfiguration() { this.Server.AddConfig(this._config = new GameServerConfig()); this.Server.AddConfig(new RichPresenceConfig()); - this.Server.AddConfig(new IntegrationConfig()); + this.Server.AddConfig(this._integrationConfig = new IntegrationConfig()); this.Server.AddConfig(new ContactInfoConfig()); } @@ -78,6 +78,7 @@ protected override void SetupServices() // Must always be last, see comment in RefreshGameServer this.Server.AddService(); + this.Server.AddService(new PresenceService(this.Logger, this._integrationConfig!)); } [Pure]