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