Skip to content

Commit

Permalink
Add published flag to Selector and Loan Object factories [MA-160]
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhiltri committed Mar 1, 2024
1 parent 5ba64d4 commit c4e31d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions database/factories/LoanObjectFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public function definition(): array
'longitude' => fake()->randomFloat(nbMaxDecimals: 13, min: -180, max: 180),
'main_reference_number' => fake()->year() . fake()->randomNumber(nbDigits: 5),
'gallery_id' => Gallery::factory(),
'published' => true,
];
}
}
1 change: 1 addition & 0 deletions database/factories/SelectorFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ public function definition(): array
{
return [
'number' => fake()->unique()->randomNumber(nbDigits: 3),
'published' => true,
];
}
}

0 comments on commit c4e31d7

Please sign in to comment.