mirror of
https://github.com/pestphp/pest.git
synced 2026-03-10 01:37:21 +01:00
feat(presets): add expectation for Laravel controller suffix
This commit is contained in:
@ -21,5 +21,8 @@ final class Laravel extends AbstractPreset
|
||||
$this->expectations[] = expect([
|
||||
'exit',
|
||||
])->not->toBeUsed();
|
||||
|
||||
$this->expectations[] = expect('App\Http\Controllers')
|
||||
->toHaveSuffix('Controller');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user