mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
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:
parent
2fff060a67
commit
156377a77d
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user