Added mercure to update when everyone is ready

This commit is contained in:
Frank
2026-01-08 20:11:14 +01:00
parent 4d021e7cf1
commit 928ab3cbfe
5 changed files with 82 additions and 9 deletions
+6
View File
@@ -310,6 +310,12 @@ class GameDashboardServiceTest extends TestCase
->method('remove')
->with($setting1);
$this->entityManager->expects($this->atLeastOnce())
->method('flush');
$this->hub->expects($this->once())
->method('publish');
$this->service->checkAllPlayersReady($session);
$this->assertEquals(SessionStatus::READY, $session->getStatus());