Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
joedixon committed Jan 20, 2025
1 parent 96b452e commit 7d5dbe3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
use Laravel\Reverb\Servers\Reverb\Contracts\PubSubIncomingMessageHandler;
use Laravel\Reverb\Servers\Reverb\Publishing\RedisClientFactory;
use Laravel\Reverb\Servers\Reverb\Publishing\RedisPubSubProvider;
use React\EventLoop\Factory;
use React\EventLoop\Loop;
use React\EventLoop\LoopInterface;
use React\Promise\Promise;

Expand Down Expand Up @@ -70,7 +70,7 @@

it('can timeout and fail when unable to reconnect', function () {
$clientFactory = Mockery::mock(RedisClientFactory::class);
$loop = Factory::create();
$loop = Loop::get();

// Publisher client
$clientFactory->shouldReceive('make')
Expand Down Expand Up @@ -147,7 +147,7 @@

it('does not attempt to reconnect after a controlled disconnection', function () {
$clientFactory = Mockery::mock(RedisClientFactory::class);
$loop = Factory::create();
$loop = Loop::get();

// Publisher client
$clientFactory->shouldReceive('make')
Expand Down

0 comments on commit 7d5dbe3

Please sign in to comment.