Restart round vote now correctly shows round end screen. (#4817)

This commit is contained in:
moonheart08
2021-10-09 13:18:20 -05:00
committed by GitHub
parent 1a635553cb
commit 9f0c3daa65
5 changed files with 42 additions and 28 deletions

View File

@@ -12,8 +12,8 @@ using Robust.Shared.Timing;
namespace Content.IntegrationTests.Tests.Commands
{
[TestFixture]
[TestOf(typeof(NewRoundCommand))]
public class RestartRoundTest : ContentIntegrationTest
[TestOf(typeof(RestartRoundNowCommand))]
public class RestartRoundNowTest : ContentIntegrationTest
{
[Test]
[TestCase(true)]
@@ -46,7 +46,7 @@ namespace Content.IntegrationTests.Tests.Commands
tickBeforeRestart = entityManager.CurrentTick;
var command = new NewRoundCommand();
var command = new RestartRoundNowCommand();
command.Execute(null, string.Empty, Array.Empty<string>());
if (lobbyEnabled)