Don't try to do Discord Rich Presence in integration tests.
This commit is contained in:
@@ -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 = () =>
|
||||
|
||||
Reference in New Issue
Block a user