Skip to content

Commit

Permalink
Update MakeCrudModuleCommandTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
milwad-dev committed Jan 23, 2025
1 parent d8eebdc commit d926f7b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Commands/Modules/MakeCrudModuleCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function test_crud_files_created_successfully_with_repository(): void
$this->ensureCrudFileCreated();

// Ensure repository exists
$this->assertFileExists(base_path('Modules/Product/Repositories/ProductRepo.php'));
$this->assertFileExists(base_path('Modules/Product/Repositories/ProductRepository.php'));
}

/**
Expand Down Expand Up @@ -148,8 +148,8 @@ public function test_crud_files_created_successfully_with_customize_from_config_
$this->assertFileExists(base_path('modules/Product/Http/Controllers/Test/ProductController.php'));

// Ensure requests exists
$this->assertFileExists(base_path('modules/Product/Http/Requests/Test/ProductStoreRequest.php'));
$this->assertFileExists(base_path('modules/Product/Http/Requests/Test/ProductUpdateRequest.php'));
$this->assertFileExists(base_path('modules/Product/Http/Requests/ProductStoreRequest.php'));
$this->assertFileExists(base_path('modules/Product/Http/Requests/ProductUpdateRequest.php'));

// Ensure views exists
$this->assertFileExists(base_path('modules/Product/Resources/Views/Test/index.blade.php'));
Expand Down

0 comments on commit d926f7b

Please sign in to comment.