Fixed seeder
Some checks failed
Crowdin Action / upload-sources-to-crowdin (push) Has been cancelled
Docker images (Alpine) / docker (push) Has been cancelled
Docker images / docker (push) Has been cancelled
Tests in MySQL / PHP ${{ matrix.php-version }} (8.1) (push) Has been cancelled
Tests in MySQL / PHP ${{ matrix.php-version }} (8.2) (push) Has been cancelled
Tests in MySQL / PHP ${{ matrix.php-version }} (8.3) (push) Has been cancelled
Tests in SQLite / PHP ${{ matrix.php-version }} (8.1.1) (push) Has been cancelled

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-09-20 19:45:10 +01:00
parent b68805cf83
commit ab0c009c0d

View file

@ -82,7 +82,7 @@ class AssetSeeder extends Seeder
return fn($sequence) => [ return fn($sequence) => [
'rtd_location_id' => $this->locationIds->random(), 'rtd_location_id' => $this->locationIds->random(),
'supplier_id' => $this->supplierIds->random(), 'supplier_id' => $this->supplierIds->random(),
'created_by' => $this->admin->id, 'created_by' => $this->adminuser->id,
]; ];
} }
} }