Skip to content

Commit

Permalink
Merge pull request #31 from milwad-dev/analysis-2254Od
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
milwad-dev authored Apr 14, 2024
2 parents ce5e384 + 8443463 commit b8c1dc0
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 b8c1dc0

Please sign in to comment.