This repository was archived by the owner on Feb 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +1
-3
lines changed Expand file tree Collapse file tree 3 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 4
4
5
5
use BeyondCode \LaravelWebSockets \Tests \Mocks \Message ;
6
6
use BeyondCode \LaravelWebSockets \Tests \TestCase ;
7
- use Illuminate \Support \Facades \Redis ;
8
7
9
8
class PresenceChannelReplicationTest extends TestCase
10
9
{
Original file line number Diff line number Diff line change 7
7
use BeyondCode \LaravelWebSockets \WebSockets \Exceptions \ConnectionsOverCapacity ;
8
8
use BeyondCode \LaravelWebSockets \WebSockets \Exceptions \OriginNotAllowed ;
9
9
use BeyondCode \LaravelWebSockets \WebSockets \Exceptions \UnknownAppKey ;
10
- use Illuminate \Support \Facades \Redis ;
11
10
12
11
class ConnectionTest extends TestCase
13
12
{
Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ protected function configurePubSub()
274
274
275
275
// Replace the publish and subscribe clients with a Mocked
276
276
// factory lazy instance on boot.
277
- $ this ->app ->singleton (ReplicationInterface::class, function () use ( $ replicationDriver ) {
277
+ $ this ->app ->singleton (ReplicationInterface::class, function () {
278
278
$ client = config (
279
279
"websockets.replication. {$ driver }.client " ,
280
280
\BeyondCode \LaravelWebSockets \PubSub \Drivers \LocalClient::class
You can’t perform that action at this time.
0 commit comments