fix tests
This commit is contained in:
@@ -20,7 +20,7 @@ class ToDoFactory extends Factory
|
||||
return [
|
||||
'user_id' => User::inRandomOrder()->value('id'),
|
||||
'name' => $this->faker->words(1, 4),
|
||||
'checked' => $this->faker->boolean,
|
||||
'checked' => rand(0, 1) ? now() : null,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user