Don't try to do Discord Rich Presence in integration tests.

This commit is contained in:
Pieter-Jan Briers
2019-07-08 23:17:37 +02:00
parent b7d5297e9f
commit 546770ee70

View File

@@ -1,6 +1,7 @@
using Content.Client;
using Content.Client.Interfaces.Parallax;
using Robust.Shared.ContentPack;
using Robust.Shared.Interfaces.Configuration;
using Robust.Shared.IoC;
using Robust.UnitTesting;
@@ -13,6 +14,9 @@ namespace Content.IntegrationTests
options = options ?? new ClientIntegrationOptions();
options.BeforeStart += () =>
{
// Connecting to Discord is a massive waste of time.
// Basically just makes the CI logs a mess.
IoCManager.Resolve<IConfigurationManager>().SetCVar("discord.enabled", false);
IoCManager.Resolve<IModLoader>().SetModuleBaseCallbacks(new ClientModuleTestingCallbacks
{
ClientBeforeIoC = () =>