Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Apr 14, 2024
1 parent ce5e384 commit 8443463
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests/Modules/MakeCrudModuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ private function checkAllToRequestIsCreatedWithOriginalName(): void
$modelFolderName = config('laravel-crod.modules.request_path', 'Http\Requests');
$filename = base_path("$this->module\\$this->name\\$modelFolderName\\");

$this->assertEquals(1, file_exists($filename . "ProductStoreRequest.php"));
$this->assertEquals(1, file_exists($filename . "ProductUpdateRequest.php"));
$this->assertEquals(1, file_exists($filename.'ProductStoreRequest.php'));
$this->assertEquals(1, file_exists($filename.'ProductUpdateRequest.php'));
}

private function checkAllToViewIsCreatedWithOriginalName(): void
Expand Down
6 changes: 3 additions & 3 deletions tests/Traits/MakeCrudTestTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ private function checkAllToControllerIsCreatedWithOriginalName(): void

private function checkAllToRequestIsCreatedWithOriginalName($name): void
{
$filename = app_path("Http\\Requests\\");
$filename = app_path('Http\\Requests\\');

$this->assertEquals(1, file_exists($filename . $name . "StoreRequest.php"));
$this->assertEquals(1, file_exists($filename . $name . "UpdateRequest.php"));
$this->assertEquals(1, file_exists($filename.$name.'StoreRequest.php'));
$this->assertEquals(1, file_exists($filename.$name.'UpdateRequest.php'));
}

private function checkAllToViewIsCreatedWithOriginalName(string $name): void
Expand Down

0 comments on commit 8443463

Please sign in to comment.