mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
feat(presets): add expectation for Laravel notification class
This commit is contained in:
@ -52,5 +52,9 @@ final class Laravel extends AbstractPreset
|
||||
$this->expectations[] = expect('App\Jobs')
|
||||
->toHaveMethod('handle')
|
||||
->toHaveConstructor();
|
||||
|
||||
$this->expectations[] = expect('App\Notifications')
|
||||
->toHaveConstructor()
|
||||
->toExtend('Illuminate\Notifications\Notification');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user