File tree 1 file changed +3
-3
lines changed
tests/Unit/Servers/Reverb/Publishing
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4
4
use Laravel \Reverb \Servers \Reverb \Contracts \PubSubIncomingMessageHandler ;
5
5
use Laravel \Reverb \Servers \Reverb \Publishing \RedisClientFactory ;
6
6
use Laravel \Reverb \Servers \Reverb \Publishing \RedisPubSubProvider ;
7
- use React \EventLoop \Factory ;
7
+ use React \EventLoop \Loop ;
8
8
use React \EventLoop \LoopInterface ;
9
9
use React \Promise \Promise ;
10
10
70
70
71
71
it ('can timeout and fail when unable to reconnect ' , function () {
72
72
$ clientFactory = Mockery::mock (RedisClientFactory::class);
73
- $ loop = Factory:: create ();
73
+ $ loop = Loop:: get ();
74
74
75
75
// Publisher client
76
76
$ clientFactory ->shouldReceive ('make ' )
147
147
148
148
it ('does not attempt to reconnect after a controlled disconnection ' , function () {
149
149
$ clientFactory = Mockery::mock (RedisClientFactory::class);
150
- $ loop = Factory:: create ();
150
+ $ loop = Loop:: get ();
151
151
152
152
// Publisher client
153
153
$ clientFactory ->shouldReceive ('make ' )
You can’t perform that action at this time.
0 commit comments