Fixed tests

This commit is contained in:
Alex Renoki 2020-09-04 22:38:01 +03:00
parent cadd2602cb
commit 7e9d3cdc77
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ abstract class TestCase extends BaseTestCase
// Replace the publish and subscribe clients with a Mocked
// factory lazy instance on boot.
$this->app->singleton(ReplicationInterface::class, function () {
$this->app->singleton(ReplicationInterface::class, function () use ($replicationDriver) {
$client = config(
"websockets.replication.{$replicationDriver}.client",
\BeyondCode\LaravelWebSockets\PubSub\Drivers\LocalClient::class