Skip to content

Commit

Permalink
Fix code styling
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell authored and github-actions[bot] committed Oct 4, 2024
1 parent 65631f1 commit 61ed7bf
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,19 @@

use Clue\React\Redis\Client;
use Laravel\Reverb\Servers\Reverb\Contracts\PubSubIncomingMessageHandler;
use Laravel\Reverb\Servers\Reverb\Publishing\RedisPubSubProvider;
use Laravel\Reverb\Servers\Reverb\Publishing\RedisClientFactory;
use Laravel\Reverb\Servers\Reverb\Publishing\RedisPubSubProvider;
use React\EventLoop\LoopInterface;

it('resubscribes to the scaling channel on unsubscribe event', function (){
it('resubscribes to the scaling channel on unsubscribe event', function () {

$channel = "reverb";
$channel = 'reverb';
$subscribingClient = Mockery::mock(Client::class);

$subscribingClient->shouldReceive('on')
->with('unsubscribe', Mockery::on(function ($callback) use ($channel) {
$callback($channel);

return true;
}))->once();

Expand All @@ -25,7 +26,6 @@
->twice()
->with($channel);


$clientFactory = Mockery::mock(RedisClientFactory::class);

// The first call to make() will return a publishing client
Expand Down

0 comments on commit 61ed7bf

Please sign in to comment.