Skip to content

Commit

Permalink
Refactor MakeTest Command.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-cintra committed Jan 18, 2024
1 parent e1d05d9 commit bddf161
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Console/MakeTestCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
});

it('can run modular:make-test command', function () {
$this->artisan('modular:make-test moduleName moduleName')->assertSuccessful();
$this->artisan('modular:make-test ModuleName testFileName')->assertSuccessful();
});

it('can generate a test', function () {
$this->artisan('modular:make-test moduleName testFileName');
$this->artisan('modular:make-test ModuleName testFileName');

$test = base_path('modules/ModuleName/Tests/testFileNameTest.php');
$this->assertTrue(file_exists($test));
Expand Down

0 comments on commit bddf161

Please sign in to comment.