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 44
55use BeyondCode \LaravelWebSockets \Tests \Mocks \Message ;
66use BeyondCode \LaravelWebSockets \Tests \TestCase ;
7- use Illuminate \Support \Facades \Redis ;
87
98class PresenceChannelReplicationTest extends TestCase
109{
Original file line number Diff line number Diff line change 77use BeyondCode \LaravelWebSockets \WebSockets \Exceptions \ConnectionsOverCapacity ;
88use BeyondCode \LaravelWebSockets \WebSockets \Exceptions \OriginNotAllowed ;
99use BeyondCode \LaravelWebSockets \WebSockets \Exceptions \UnknownAppKey ;
10- use Illuminate \Support \Facades \Redis ;
1110
1211class ConnectionTest extends TestCase
1312{
Original file line number Diff line number Diff 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 () use ( $ replicationDriver ) {
277+ $ this ->app ->singleton (ReplicationInterface::class, function () {
278278 $ client = config (
279279 "websockets.replication. {$ replicationDriver }.client " ,
280280 \BeyondCode \LaravelWebSockets \PubSub \Drivers \LocalClient::class
You can’t perform that action at this time.
0 commit comments