LD 5 лет назад
Родитель
Сommit
f5fd38db36
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Console/Commands/TestMakeCommand.php

+ 1 - 1
app/Console/Commands/TestMakeCommand.php

@@ -52,7 +52,7 @@ class TestMakeCommand extends \Illuminate\Foundation\Console\TestMakeCommand
     protected function getMethodName()
     {
         $input= trim($this->argument('name'));
-        return '\Test'.ucfirst(explode(':',$input)[1]);
+        return ucfirst(explode(':',$input)[1]).'Test';
     }
 
     protected function getStub()