From 73ad1e8a62c162ccb68090b9d4939c262fd61772 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Wed, 24 Apr 2024 15:05:43 +0100 Subject: [PATCH] Fixes `make:test` --- src/Commands/TestMakeCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/TestMakeCommand.php b/src/Commands/TestMakeCommand.php index f68514d8..1a5d5643 100644 --- a/src/Commands/TestMakeCommand.php +++ b/src/Commands/TestMakeCommand.php @@ -30,7 +30,7 @@ protected function getStub(): string { $suffix = $this->option('unit') ? '.unit.stub' : '.stub'; - $relativePath = $this->option('pest') + $relativePath = $this->usingPest() ? '/stubs/pest'.$suffix : '/stubs/test'.$suffix;