Skip to content

Commit

Permalink
Add required service to TestRefreshGameServer
Browse files Browse the repository at this point in the history
  • Loading branch information
Beyley committed Sep 3, 2024
1 parent 7969f70 commit 250040a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion RefreshTests.GameServer/GameServer/TestRefreshGameServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}

Expand Down Expand Up @@ -78,6 +78,7 @@ protected override void SetupServices()

// Must always be last, see comment in RefreshGameServer
this.Server.AddService<DataContextService>();
this.Server.AddService(new PresenceService(this.Logger, this._integrationConfig!));
}

[Pure]
Expand Down

0 comments on commit 250040a

Please sign in to comment.