|
|
@@ -69,18 +69,6 @@ class TestMakeCommand extends \Illuminate\Foundation\Console\TestMakeCommand
|
|
|
? $this->resolveStubPath('/stubs/test.unit.stub')
|
|
|
: $this->resolveStubPath('/stubs/test.stub');
|
|
|
}
|
|
|
- protected function getArguments()
|
|
|
- {
|
|
|
- $args=parent::getArguments();
|
|
|
- $args[]=['xx', InputArgument::REQUIRED, 'xx'];
|
|
|
- }
|
|
|
-
|
|
|
- protected function buildClass($name)
|
|
|
- {
|
|
|
- $stub = $this->files->get($this->getStub());
|
|
|
-
|
|
|
- return $this->replaceNamespace($stub, $name)->replaceClass($stub, $name);
|
|
|
- }
|
|
|
protected function replaceClass($stub, $name)
|
|
|
{
|
|
|
$class = str_replace($this->getNamespace($name).'\\', '', $this->getMethodName());
|