Apply fixes from StyleCI (#462)

This commit is contained in:
rennokki 2020-08-14 15:52:42 +03:00 committed by GitHub
parent 0fdc0bc752
commit 939ae17604
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -50,9 +50,9 @@ class PresenceChannelReplicationTest extends TestCase
json_encode($channelData), json_encode($channelData),
]) ])
->assertCalledWithArgs('hgetall', [ ->assertCalledWithArgs('hgetall', [
'1234:presence-channel' '1234:presence-channel',
]); ]);
// TODO: This fails somehow // TODO: This fails somehow
// Debugging shows the exact same pattern as good. // Debugging shows the exact same pattern as good.
/* ->assertCalledWithArgs('publish', [ /* ->assertCalledWithArgs('publish', [
'1234:presence-channel', '1234:presence-channel',

View File

@ -2,7 +2,6 @@
namespace BeyondCode\LaravelWebSockets\Tests\Channels; namespace BeyondCode\LaravelWebSockets\Tests\Channels;
use BeyondCode\LaravelWebSockets\PubSub\ReplicationInterface;
use BeyondCode\LaravelWebSockets\Tests\Mocks\Message; use BeyondCode\LaravelWebSockets\Tests\Mocks\Message;
use BeyondCode\LaravelWebSockets\Tests\TestCase; use BeyondCode\LaravelWebSockets\Tests\TestCase;
use BeyondCode\LaravelWebSockets\WebSockets\Exceptions\InvalidSignature; use BeyondCode\LaravelWebSockets\WebSockets\Exceptions\InvalidSignature;