mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
feat(presets): add expectation for Laravel exception suffix
This commit is contained in:
@ -33,5 +33,8 @@ final class Laravel extends AbstractPreset
|
||||
|
||||
$this->expectations[] = expect('App\Console\Commands')
|
||||
->toHaveSuffix('Command');
|
||||
|
||||
$this->expectations[] = expect('App\Exceptions')
|
||||
->toImplement('Throwable');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user