Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Mar 18, 2024
1 parent 402c7e7 commit 5cdcd4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"laravel/pint": "^1.6",
"mockery/mockery": "^1.6",
"phpstan/phpstan": "^1.10.6",
"phpunit/phpunit": "^10.5",
"phpunit/phpunit": "^11.0",
"spatie/laravel-ray": "^1.35"
},
"config": {
Expand Down
4 changes: 2 additions & 2 deletions tests/Feature/Console/ControllerMakeCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ public function it_can_generate_controller_file_with_tests()
$this->assertFilenameExists('tests/Feature/Http/Controllers/FooControllerTest.php');
}

/** @test */
#[Test]
public function it_can_generate_controller_with_model_and_requests()
{
$this->artisan('make:controller', ['name' => 'FooController', '--model' => 'Foo', '--requests' => true, '--preset' => 'canvas'])
Expand All @@ -256,7 +256,7 @@ public function it_can_generate_controller_with_model_and_requests()
$this->assertFilenameExists('app/Http/Requests/UpdateFooRequest.php');
}

/** @test */
#[Test]
public function it_can_generate_controller_with_model_and_requests_with_custom_preset()
{
$this->instance('orchestra.canvas', new Laravel(
Expand Down

0 comments on commit 5cdcd4d

Please sign in to comment.