|
|
|
@ -121,7 +121,7 @@ class CrudSimpleMakeCommandTest extends TestCase |
|
|
|
$this->assertFileExists(resource_path("lang/{$localeConfig}/{$langName}.php")); |
|
|
|
|
|
|
|
$this->assertFileExists(app_path("Policies/{$modelName}Policy.php")); |
|
|
|
$this->assertFileExists(database_path("factories/{$modelName}Factory.php")); |
|
|
|
$this->assertFileExists(database_path("factories/{$inputName}Factory.php")); |
|
|
|
$this->assertFileExists(base_path("tests/Unit/Models/{$modelName}Test.php")); |
|
|
|
$this->assertFileExists(base_path("tests/Unit/Policies/{$modelName}PolicyTest.php")); |
|
|
|
$this->assertFileExists(base_path("tests/Feature/Manage{$modelName}Test.php")); |
|
|
|
@ -154,7 +154,7 @@ class CrudSimpleMakeCommandTest extends TestCase |
|
|
|
$localeConfig = config('app.locale'); |
|
|
|
$this->assertFileExists(resource_path("lang/{$localeConfig}/{$langName}.php")); |
|
|
|
|
|
|
|
$this->assertFileExists(database_path("factories/{$modelName}Factory.php")); |
|
|
|
$this->assertFileExists(database_path("factories/{$inputName}Factory.php")); |
|
|
|
$this->assertFileExists(base_path("tests/Unit/Models/{$modelName}Test.php")); |
|
|
|
$this->assertFileExists(base_path("tests/Unit/Policies/{$modelName}PolicyTest.php")); |
|
|
|
$this->assertFileExists(app_path("Policies/{$parentName}/{$modelName}Policy.php")); |
|
|
|
|