Fixed tests
This commit is contained in:
parent
cadd2602cb
commit
7e9d3cdc77
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue