singleton(ReplicationInterface::class, function () { return (new FakeReplicationClient())->boot(Factory::create()); }); Config::set([ 'websockets.replication.enabled' => true, 'websockets.replication.driver' => 'redis', ]); } }