Skip to content

Commit

Permalink
add component config to testing config
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedggalal committed Oct 28, 2020
1 parent 8874c49 commit 2b16166
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/BaseTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace Nwidart\Modules\Tests;

use Nwidart\Modules\Commands\ComponentClassMakeCommand;
use Nwidart\Modules\Commands\ComponentViewMakeCommand;
use Nwidart\Modules\LaravelModulesServiceProvider;
use Orchestra\Testbench\TestCase as OrchestraTestCase;

Expand Down Expand Up @@ -74,6 +76,8 @@ protected function getEnvironmentSetUp($app)
'emails' => ['path' => 'Emails', 'generate' => true],
'notifications' => ['path' => 'Notifications', 'generate' => true],
'resource' => ['path' => 'Transformers', 'generate' => true],
'component-view' => ['path' => 'Resources/views/components', 'generate' => true],
'component-class' => ['path' => 'View/Component', 'generate' => true]
],
]);

Expand Down Expand Up @@ -119,6 +123,8 @@ protected function getEnvironmentSetUp($app)
ResourceMakeCommand::class,
TestMakeCommand::class,
LaravelModulesV6Migrator::class,
ComponentClassMakeCommand::class,
ComponentViewMakeCommand::class
]);
}

Expand Down

0 comments on commit 2b16166

Please sign in to comment.