Skip to content

Commit

Permalink
one more tweak to the model factory
Browse files Browse the repository at this point in the history
  • Loading branch information
pushrbx committed Jun 20, 2024
1 parent aa8d8a6 commit cb043f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/factories/JikanMediaModelFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ protected function getOverridesFromQueryStringParameters(Collection $additionalP
if ($additionalParams->has("start_date") && !empty($additionalParams["start_date"])
&& !$additionalParams->has("end_date")) {
$startDate = $this->adaptDateString($additionalParams["start_date"]);
$dt = Carbon::parse($startDate)->addDays($this->faker->numberBetween(0, 25));
$dt = Carbon::parse($startDate)->addDays($this->faker->numberBetween(1, 25));
$overrides[$activityMarkerKeyName] = new CarbonDateRange($dt, null);
}

Expand Down

0 comments on commit cb043f4

Please sign in to comment.