mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +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')
|
$this->expectations[] = expect('App\Jobs')
|
||||||
->toHaveMethod('handle')
|
->toHaveMethod('handle')
|
||||||
->toHaveConstructor();
|
->toHaveConstructor();
|
||||||
|
|
||||||
|
$this->expectations[] = expect('App\Notifications')
|
||||||
|
->toHaveConstructor()
|
||||||
|
->toExtend('Illuminate\Notifications\Notification');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user