Fix array key

This commit is contained in:
Marcus Moore 2023-02-07 16:40:27 -08:00
parent 787f619a6b
commit 4f9ebf6cde
No known key found for this signature in database

View file

@ -62,7 +62,7 @@ class AccessoryTest extends BaseTest
$accessory = Accessory::factory()->appleBtKeyboard()->create(
[
'category_id' => Category::factory()->create(),
'category_id' => Manufacturer::factory()->apple()->create()
'manufacturer_id' => Manufacturer::factory()->apple()->create()
]);
$this->assertInstanceOf(Manufacturer::class, $accessory->manufacturer);
}