Try to fix weird integration tests issues, update submodule.
This commit is contained in:
@@ -11,7 +11,10 @@ namespace Content.IntegrationTests
|
|||||||
{
|
{
|
||||||
protected override ClientIntegrationInstance StartClient(ClientIntegrationOptions options = null)
|
protected override ClientIntegrationInstance StartClient(ClientIntegrationOptions options = null)
|
||||||
{
|
{
|
||||||
options = options ?? new ClientIntegrationOptions();
|
options ??= new ClientIntegrationOptions();
|
||||||
|
// ReSharper disable once RedundantNameQualifier
|
||||||
|
options.ClientContentAssembly = typeof(Client.EntryPoint).Assembly;
|
||||||
|
options.SharedContentAssembly = typeof(Shared.EntryPoint).Assembly;
|
||||||
options.BeforeStart += () =>
|
options.BeforeStart += () =>
|
||||||
{
|
{
|
||||||
// Connecting to Discord is a massive waste of time.
|
// Connecting to Discord is a massive waste of time.
|
||||||
@@ -27,5 +30,13 @@ namespace Content.IntegrationTests
|
|||||||
};
|
};
|
||||||
return base.StartClient(options);
|
return base.StartClient(options);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override ServerIntegrationInstance StartServer(ServerIntegrationOptions options = null)
|
||||||
|
{
|
||||||
|
options ??= new ServerIntegrationOptions();
|
||||||
|
options.ServerContentAssembly = typeof(Server.EntryPoint).Assembly;
|
||||||
|
options.SharedContentAssembly = typeof(Shared.EntryPoint).Assembly;
|
||||||
|
return base.StartServer(options);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Submodule RobustToolbox updated: 8291294aa1...d3b8a07350
Reference in New Issue
Block a user