Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
lrljoe authored and github-actions[bot] committed Oct 25, 2024
1 parent 1275e3f commit 9916773
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions config/livewire-tables.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@
*/
'events' => [
/**
* Enable or disable passing the user from Laravel's Auth service to events
*/
* Enable or disable passing the user from Laravel's Auth service to events
*/
'enableUserForEvent' => true,
],

Expand Down
3 changes: 2 additions & 1 deletion tests/Events/ColumnsSelectedTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ public function test_user_not_set_on_event_when_a_column_selection_is_updated_an
$this->basicTable->selectAllColumns();

Event::assertDispatched(ColumnsSelected::class, function ($event) {
$this->assertFalse(isset($event->user), "User set on Event when config is set to disable this behavior");
$this->assertFalse(isset($event->user), 'User set on Event when config is set to disable this behavior');

return true;
});
}
Expand Down
3 changes: 2 additions & 1 deletion tests/Events/FilterAppliedTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ public function test_user_not_set_on_event_when_a_filter_is_applied_and_user_for
$this->basicTable->enableFilterAppliedEvent()->setFilter('pet_name_filter', 'test value');

Event::assertDispatched(FilterApplied::class, function ($event) {
$this->assertFalse(isset($event->user), "User set on Event when config is set to disable this behavior");
$this->assertFalse(isset($event->user), 'User set on Event when config is set to disable this behavior');

return true;
});
}
Expand Down
3 changes: 2 additions & 1 deletion tests/Events/SearchAppliedTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ public function test_user_not_set_on_event_when_a_search_is_applied_and_user_for
$this->basicTable->enableSearchAppliedEvent()->setSearch('test')->applySearch();

Event::assertDispatched(SearchApplied::class, function ($event) {
$this->assertFalse(isset($event->user), "User set on Event when config is set to disable this behavior");
$this->assertFalse(isset($event->user), 'User set on Event when config is set to disable this behavior');

return true;
});
}
Expand Down

0 comments on commit 9916773

Please sign in to comment.