You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the laravel preset architecture in the test and you define an event subscriber the test fails, because preset expect event to have handle method.
What Happened
When using the laravel preset architecture in the test and you define an event subscriber the test fails, because preset expect event to have
handle
method.You can define event subscriber in the listeners folder as defined in de documentation: https://laravel.com/docs/11.x/events#event-subscribers. Now the present gives this error:
Maybe ignore the suffix
Subscriber
in the Listener folder?How to Reproduce
Create event subscriber in listener folder and use laravel preset.
Sample Repository
No response
Pest Version
3.7.1
PHP Version
8.4.2
Operation System
macOS
Notes
No response
The text was updated successfully, but these errors were encountered: