mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Fix array key
This commit is contained in:
parent
787f619a6b
commit
4f9ebf6cde
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue