Apply fixes from StyleCI (#503)

This commit is contained in:
rennokki 2020-09-04 22:28:42 +03:00 committed by GitHub
parent 1e2672d9e0
commit b2ac9090cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 3 deletions

View File

@ -4,7 +4,6 @@ namespace BeyondCode\LaravelWebSockets\Tests\Channels;
use BeyondCode\LaravelWebSockets\Tests\Mocks\Message;
use BeyondCode\LaravelWebSockets\Tests\TestCase;
use Illuminate\Support\Facades\Redis;
class PresenceChannelReplicationTest extends TestCase
{

View File

@ -7,7 +7,6 @@ use BeyondCode\LaravelWebSockets\Tests\Mocks\Message;
use BeyondCode\LaravelWebSockets\WebSockets\Exceptions\ConnectionsOverCapacity;
use BeyondCode\LaravelWebSockets\WebSockets\Exceptions\OriginNotAllowed;
use BeyondCode\LaravelWebSockets\WebSockets\Exceptions\UnknownAppKey;
use Illuminate\Support\Facades\Redis;
class ConnectionTest extends TestCase
{

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 () use ($replicationDriver) {
$this->app->singleton(ReplicationInterface::class, function () {
$client = config(
"websockets.replication.{$driver}.client",
\BeyondCode\LaravelWebSockets\PubSub\Drivers\LocalClient::class