Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit 7e9d3cd

Browse files
committed
Fixed tests
1 parent cadd260 commit 7e9d3cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ protected function configurePubSub()
274274

275275
// Replace the publish and subscribe clients with a Mocked
276276
// factory lazy instance on boot.
277-
$this->app->singleton(ReplicationInterface::class, function () {
277+
$this->app->singleton(ReplicationInterface::class, function () use ($replicationDriver) {
278278
$client = config(
279279
"websockets.replication.{$replicationDriver}.client",
280280
\BeyondCode\LaravelWebSockets\PubSub\Drivers\LocalClient::class

0 commit comments

Comments
 (0)