Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tonysm committed Nov 5, 2023
1 parent dfb49cf commit a92a909
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Models/BroadcastsModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -512,11 +512,11 @@ public function auto_broadcast_refreshes_on_delete()
TurboStream::assertNothingWasBroadcasted();

/** @var Board $board */
$board = Board::withoutEvents(fn () => BoardFactory::new()->create())->fresh();
$board = Board::withoutEvents(fn () => BoardFactory::new()->create()->fresh());

TurboStream::assertNothingWasBroadcasted();

$board->fresh()->delete();
$board->delete();

TurboStream::assertBroadcasted(function (PendingBroadcast $broadcast) use ($board) {
$this->assertCount(1, $broadcast->channels);
Expand All @@ -535,7 +535,7 @@ public function auto_broadcast_refreshes_on_delete()
/** @test */
public function auto_broadcast_refreshes_to_on_create()
{
$board = Board::withoutEvents(fn () => BoardFactory::new()->create())->fresh();
$board = Board::withoutEvents(fn () => BoardFactory::new()->create()->fresh());

TurboStream::assertNothingWasBroadcasted();

Expand Down

0 comments on commit a92a909

Please sign in to comment.