mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
GET mastertasks, GET mastertasks/{id} endpointy
This commit is contained in:
1 parent
dfac41f30a
commit
ba6b9e20a5
16 files changed
+210
-12
No files matched your search
@@ -19,10 +19,10 @@ class SubTaskFactory extends Factory
|
||||
*/
|
||||
public function definition()
|
||||
{
|
||||
$client = \App\Models\Client::all()->random();
|
||||
$user = \App\Models\User::all()->random();
|
||||
|
||||
return [
|
||||
'user_id' => $client->id,
|
||||
'user_id' => $user->id,
|
||||
'estimated_time' => fake()->numberBetween(1,16),
|
||||
'tracked_time' => fake()->numberBetween(4,20),
|
||||
'is_finished' => 0,
|
||||
|
||||
Reference in new issue
Block a user