mirror of
https://github.com/pestphp/pest.git
synced 2026-03-05 23:37:22 +01:00
refactor: move test case initialization to a separate method in Testable trait
This commit is contained in:
@ -10,4 +10,4 @@ test('preset invalid name', function () {
|
||||
$this->preset()->myAnotherFramework();
|
||||
})->throws(InvalidArgumentException::class, 'The preset [myAnotherFramework] does not exist. The available presets are [php, laravel, strict, security, relaxed, myFramework].');
|
||||
|
||||
arch()->preset()->myFramework();
|
||||
// arch()->preset()->myFramework();
|
||||
|
||||
Reference in New Issue
Block a user