feat(presets): add expectation for Laravel job handle method

This commit is contained in:
Punyapal Shah
2024-06-10 21:47:05 +05:30
parent 508e42a2ff
commit 7240250a15

View File

@ -48,5 +48,9 @@ final class Laravel extends AbstractPreset
$this->expectations[] = expect('App\Mail')
->toHaveConstructor()
->toExtend('Illuminate\Mail\Mailable');
$this->expectations[] = expect('App\Jobs')
->toHaveMethod('handle')
->toHaveConstructor();
}
}