mirror of
https://github.com/pestphp/pest.git
synced 2026-03-12 10:47:25 +01:00
feat(presets): update Laravel preset to include expectation for Laravel service provider suffix
This commit is contained in:
@ -53,6 +53,12 @@ final class Laravel extends AbstractPreset
|
|||||||
->toHaveMethod('handle')
|
->toHaveMethod('handle')
|
||||||
->toHaveConstructor();
|
->toHaveConstructor();
|
||||||
|
|
||||||
|
$this->expectations[] = expect('App\Listeners')
|
||||||
|
->toHaveMethod('handle');
|
||||||
|
|
||||||
|
$this->expectations[] = expect('App\Events')
|
||||||
|
->toHaveConstructor();
|
||||||
|
|
||||||
$this->expectations[] = expect('App\Notifications')
|
$this->expectations[] = expect('App\Notifications')
|
||||||
->toHaveConstructor()
|
->toHaveConstructor()
|
||||||
->toExtend('Illuminate\Notifications\Notification');
|
->toExtend('Illuminate\Notifications\Notification');
|
||||||
|
|||||||
Reference in New Issue
Block a user