File tree Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 119119 */
120120 'events ' => [
121121 /**
122- * Enable or disable passing the user from Laravel's Auth service to events
123- */
122+ * Enable or disable passing the user from Laravel's Auth service to events
123+ */
124124 'enableUserForEvent ' => true ,
125125 ],
126126
Original file line number Diff line number Diff line change @@ -95,7 +95,8 @@ public function test_user_not_set_on_event_when_a_column_selection_is_updated_an
9595 $ this ->basicTable ->selectAllColumns ();
9696
9797 Event::assertDispatched (ColumnsSelected::class, function ($ event ) {
98- $ this ->assertFalse (isset ($ event ->user ), "User set on Event when config is set to disable this behavior " );
98+ $ this ->assertFalse (isset ($ event ->user ), 'User set on Event when config is set to disable this behavior ' );
99+
99100 return true ;
100101 });
101102 }
Original file line number Diff line number Diff line change @@ -76,7 +76,8 @@ public function test_user_not_set_on_event_when_a_filter_is_applied_and_user_for
7676 $ this ->basicTable ->enableFilterAppliedEvent ()->setFilter ('pet_name_filter ' , 'test value ' );
7777
7878 Event::assertDispatched (FilterApplied::class, function ($ event ) {
79- $ this ->assertFalse (isset ($ event ->user ), "User set on Event when config is set to disable this behavior " );
79+ $ this ->assertFalse (isset ($ event ->user ), 'User set on Event when config is set to disable this behavior ' );
80+
8081 return true ;
8182 });
8283 }
Original file line number Diff line number Diff line change @@ -86,7 +86,8 @@ public function test_user_not_set_on_event_when_a_search_is_applied_and_user_for
8686 $ this ->basicTable ->enableSearchAppliedEvent ()->setSearch ('test ' )->applySearch ();
8787
8888 Event::assertDispatched (SearchApplied::class, function ($ event ) {
89- $ this ->assertFalse (isset ($ event ->user ), "User set on Event when config is set to disable this behavior " );
89+ $ this ->assertFalse (isset ($ event ->user ), 'User set on Event when config is set to disable this behavior ' );
90+
9091 return true ;
9192 });
9293 }
You can’t perform that action at this time.
0 commit comments