prepaeres to some code for the tests
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
|
||||
namespace Database\Seeds;
|
||||
|
||||
use App\Models\Common\Company;
|
||||
use App\Models\Model;
|
||||
use Artisan;
|
||||
|
||||
@ -25,7 +26,7 @@ class Modules extends Seeder
|
||||
|
||||
private function create()
|
||||
{
|
||||
$company_id = $this->command->argument('company');
|
||||
$company_id = Company::first()->id;
|
||||
|
||||
Artisan::call('module:install', ['alias' => 'offlinepayment', 'company_id' => $company_id]);
|
||||
Artisan::call('module:install', ['alias' => 'paypalstandard', 'company_id' => $company_id]);
|
||||
|
Reference in New Issue
Block a user