Skip to content

Commit cfd20bb

Browse files
committed
Remove hard-coded id in asset factory state
1 parent 97ec4a6 commit cfd20bb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

database/factories/AssetFactory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,6 @@ public function assignedToAsset(Asset $asset = null)
316316
{
317317
return $this->state(function () use ($asset) {
318318
return [
319-
'model_id' => 1,
320319
'assigned_to' => $asset->id ?? Asset::factory(),
321320
'assigned_type' => Asset::class,
322321
];

0 commit comments

Comments
 (0)