Skip to content

Commit 6a178cb

Browse files
committed
Normalize command name with other generators
1 parent be82c16 commit 6a178cb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Laravel Test Factory Generator
22

3-
`php artisan test-factory-helper:generate`
3+
`php artisan generate:model-factory`
44

55
This package helps you generate model factories from your existing models / database structure to get started with testing your Laravel application even faster.
66

@@ -60,7 +60,7 @@ Mpociot\LaravelTestFactoryHelper\TestFactoryHelperServiceProvider::class
6060

6161
Just call the artisan command:
6262

63-
`php artisan test-factory-helper:generate`
63+
`php artisan generate:model-factory`
6464

6565
This command will look for all models in your "app" folder (configurable by using the `--dir` option) and create test factories and save them in your `database/factories/ModelFactory.php`.
6666

src/Console/GenerateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class GenerateCommand extends Command
2222
*
2323
* @var string
2424
*/
25-
protected $name = 'test-factory-helper:generate';
25+
protected $name = 'generate:model-factory';
2626

2727
/**
2828
* @var string

0 commit comments

Comments
 (0)