Skip to content

Commit

Permalink
Fixes tests.
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Jan 19, 2020
1 parent aca61b4 commit d59d211
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Feature/Generators/ConsoleGeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function it_can_generate_command_file()
'namespace App\Console\Commands;',
'use Orchestra\Canvas\Core\Commands\Generator;',
'class FooCommand extends Generator',
'protected $signature = \'make:name\';',
'protected $name = \'make:name\';',
], 'app/Console/Commands/FooCommand.php');
}

Expand All @@ -42,7 +42,7 @@ public function it_can_generate_command_file_with_command_name()
'namespace App\Console\Commands;',
'use Orchestra\Canvas\Core\Commands\Generator;',
'class FooCommand extends Generator',
'protected $signature = \'make:foobar\';',
'protected $name = \'make:foobar\';',
], 'app/Console/Commands/FooCommand.php');
}

Expand All @@ -60,7 +60,7 @@ public function it_can_generate_command_file_with_command_name_without_make_pref
'namespace App\Console\Commands;',
'use Orchestra\Canvas\Core\Commands\Generator;',
'class FooCommand extends Generator',
'protected $signature = \'make:foobar\';',
'protected $name = \'make:foobar\';',
], 'app/Console/Commands/FooCommand.php');
}
}

0 comments on commit d59d211

Please sign in to comment.