mirror of
https://github.com/pestphp/pest.git
synced 2026-03-12 18:57: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')
|
$this->expectations[] = expect('App\Console\Commands')
|
||||||
->toHaveSuffix('Command');
|
->toHaveSuffix('Command');
|
||||||
|
|
||||||
|
$this->expectations[] = expect('App\Exceptions')
|
||||||
|
->toImplement('Throwable');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user