From d6466cebdf1697c1632607723b3726d8502c2cdd Mon Sep 17 00:00:00 2001 From: Jason McCreary Date: Thu, 7 Sep 2023 19:30:06 -0400 Subject: [PATCH] Passthru test options --- src/Illuminate/Foundation/Console/ModelMakeCommand.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Illuminate/Foundation/Console/ModelMakeCommand.php b/src/Illuminate/Foundation/Console/ModelMakeCommand.php index ef10da26b14f..b4a44dda701f 100644 --- a/src/Illuminate/Foundation/Console/ModelMakeCommand.php +++ b/src/Illuminate/Foundation/Console/ModelMakeCommand.php @@ -144,6 +144,8 @@ protected function createController() '--model' => $this->option('resource') || $this->option('api') ? $modelName : null, '--api' => $this->option('api'), '--requests' => $this->option('requests') || $this->option('all'), + '--test' => $this->option('test'), + '--pest' => $this->option('pest'), ])); }