Added mercure to update when everyone is ready
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user