Skip to content

Commit

Permalink
Restart Test Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinary1 committed Jun 14, 2024
1 parent d072853 commit 7058a27
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Content.IntegrationTests/Tests/GameRules/RuleMaxTimeRestartTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,18 @@ await server.WaitAssertion(() =>
await server.WaitAssertion(() =>
{
Assert.That(sGameTicker.RunLevel, Is.EqualTo(GameRunLevel.PostRound));

var gameRuleEntities = entityManager.GetEntities<GameRuleComponent>().ToList();

Check failure on line 58 in Content.IntegrationTests/Tests/GameRules/RuleMaxTimeRestartTest.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

The non-generic method 'IEntityManager.GetEntities()' cannot be used with type arguments

Check failure on line 58 in Content.IntegrationTests/Tests/GameRules/RuleMaxTimeRestartTest.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

The non-generic method 'IEntityManager.GetEntities()' cannot be used with type arguments

Check failure on line 58 in Content.IntegrationTests/Tests/GameRules/RuleMaxTimeRestartTest.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

The non-generic method 'IEntityManager.GetEntities()' cannot be used with type arguments

Check failure on line 58 in Content.IntegrationTests/Tests/GameRules/RuleMaxTimeRestartTest.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

The non-generic method 'IEntityManager.GetEntities()' cannot be used with type arguments

Check failure on line 58 in Content.IntegrationTests/Tests/GameRules/RuleMaxTimeRestartTest.cs

View workflow job for this annotation

GitHub Actions / YAML Linter

The non-generic method 'IEntityManager.GetEntities()' cannot be used with type arguments

Check failure on line 58 in Content.IntegrationTests/Tests/GameRules/RuleMaxTimeRestartTest.cs

View workflow job for this annotation

GitHub Actions / YAML Linter

The non-generic method 'IEntityManager.GetEntities()' cannot be used with type arguments
foreach (var entity in gameRuleEntities)
{
entityManager.DeleteEntity(entity);
}

var activeGameRuleEntities = entityManager.GetEntities<ActiveGameRuleComponent>().ToList();

Check failure on line 64 in Content.IntegrationTests/Tests/GameRules/RuleMaxTimeRestartTest.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

The non-generic method 'IEntityManager.GetEntities()' cannot be used with type arguments

Check failure on line 64 in Content.IntegrationTests/Tests/GameRules/RuleMaxTimeRestartTest.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

The non-generic method 'IEntityManager.GetEntities()' cannot be used with type arguments

Check failure on line 64 in Content.IntegrationTests/Tests/GameRules/RuleMaxTimeRestartTest.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

The non-generic method 'IEntityManager.GetEntities()' cannot be used with type arguments

Check failure on line 64 in Content.IntegrationTests/Tests/GameRules/RuleMaxTimeRestartTest.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

The non-generic method 'IEntityManager.GetEntities()' cannot be used with type arguments

Check failure on line 64 in Content.IntegrationTests/Tests/GameRules/RuleMaxTimeRestartTest.cs

View workflow job for this annotation

GitHub Actions / YAML Linter

The non-generic method 'IEntityManager.GetEntities()' cannot be used with type arguments

Check failure on line 64 in Content.IntegrationTests/Tests/GameRules/RuleMaxTimeRestartTest.cs

View workflow job for this annotation

GitHub Actions / YAML Linter

The non-generic method 'IEntityManager.GetEntities()' cannot be used with type arguments
foreach (var entity in activeGameRuleEntities)
{
entityManager.DeleteEntity(entity);
}
});

ticks = sGameTiming.TickRate * (int) Math.Ceiling(maxTime.RoundEndDelay.TotalSeconds * 1.1f);
Expand Down

0 comments on commit 7058a27

Please sign in to comment.