diff --git a/tests/Modules/MakeCrudModuleTest.php b/tests/Modules/MakeCrudModuleTest.php index 03339a9..4c1e350 100644 --- a/tests/Modules/MakeCrudModuleTest.php +++ b/tests/Modules/MakeCrudModuleTest.php @@ -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 diff --git a/tests/Traits/MakeCrudTestTrait.php b/tests/Traits/MakeCrudTestTrait.php index 0080d7d..097376d 100644 --- a/tests/Traits/MakeCrudTestTrait.php +++ b/tests/Traits/MakeCrudTestTrait.php @@ -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