Skip to content

Commit

Permalink
fix tests (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
joedixon authored Dec 27, 2024
1 parent 9469732 commit 16a5bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Unit/EventTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
app(ServerProviderManager::class)->withPublishing();
$pubSub = Mockery::mock(PubSubProvider::class);
$pubSub->shouldReceive('publish')->once()
->with(['type' => 'message', 'application' => serialize($app), 'payload' => ['channel' => 'test-channel'], 'socket_id' => null]);
->with(['type' => 'message', 'application' => serialize($app), 'payload' => ['channel' => 'test-channel']]);

$this->app->instance(PubSubProvider::class, $pubSub);

Expand Down

0 comments on commit 16a5bda

Please sign in to comment.