Fix import_type for accessory state

This commit is contained in:
Marcus Moore 2024-10-03 11:43:02 -07:00
parent 32551d55d7
commit 863c0a8b60
No known key found for this signature in database

View file

@ -41,7 +41,7 @@ class ImportFactory extends Factory
$fileBuilder = Importing\AccessoriesImportFileBuilder::new();
$attributes['name'] = "{$attributes['name']} Accessories";
$attributes['import_type'] = 'Accessories';
$attributes['import_type'] = 'accessory';
$attributes['header_row'] = $fileBuilder->toCsv()[0];
$attributes['first_row'] = $fileBuilder->firstRow();