Import Company Model and Hash in usersTableSeeder.php

UsersTableSeeder.php takes use of company models here but it has not imported it:  $company = Company::factory()->create([....

Also it takes use of password hashing here but it has not imported it: 'password' => Hash::make(config('ninja.testvars.password')),
This commit is contained in:
Chanda Chewe 2023-09-09 09:39:56 +02:00 committed by GitHub
parent 2fff060a67
commit 156377a77d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,8 @@ use App\Models\ClientContact;
use App\Models\User;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Seeder;
use App\Models\Company;
use Illuminate\Support\Facades\Hash;
class UsersTableSeeder extends Seeder
{