mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Fix typo in Keyboard accessory name
This commit is contained in:
parent
1bad8e1fc2
commit
92e0c59f89
|
@ -47,7 +47,7 @@ class AccessoryFactory extends Factory
|
|||
'name' => 'Bluetooth Keyboard',
|
||||
'image' => 'bluetooth.jpg',
|
||||
'category_id' => function () {
|
||||
return Category::where('name', 'Keyboardss')->first() ?? Category::factory()->accessoryKeyboardCategory();
|
||||
return Category::where('name', 'Keyboards')->first() ?? Category::factory()->accessoryKeyboardCategory();
|
||||
},
|
||||
'manufacturer_id' => function () {
|
||||
return Manufacturer::where('name', 'Apple')->first() ?? Manufacturer::factory()->apple();
|
||||
|
@ -66,7 +66,7 @@ class AccessoryFactory extends Factory
|
|||
'name' => 'USB Keyboard',
|
||||
'image' => 'usb-keyboard.jpg',
|
||||
'category_id' => function () {
|
||||
return Category::where('name', 'Keyboardss')->first() ?? Category::factory()->accessoryKeyboardCategory();
|
||||
return Category::where('name', 'Keyboards')->first() ?? Category::factory()->accessoryKeyboardCategory();
|
||||
},
|
||||
'manufacturer_id' => function () {
|
||||
return Manufacturer::where('name', 'Apple')->first() ?? Manufacturer::factory()->apple();
|
||||
|
|
|
@ -103,7 +103,7 @@ class CategoryFactory extends Factory
|
|||
public function accessoryKeyboardCategory()
|
||||
{
|
||||
return $this->state([
|
||||
'name' => 'Keyboardss',
|
||||
'name' => 'Keyboards',
|
||||
'category_type' => 'accessory',
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue