refactor: move test case initialization to a separate method in Testable trait

This commit is contained in:
Punyapal Shah
2025-04-20 15:37:02 +05:30
parent 442a58d07f
commit 4f6140fdb1
2 changed files with 29 additions and 22 deletions

View File

@ -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();