|
|
@ -48,6 +48,8 @@ class ManageJobsTest extends TestCase |
|
|
'worker_id' => $worker->id, |
|
|
'worker_id' => $worker->id, |
|
|
'type_id' => 1, |
|
|
'type_id' => 1, |
|
|
'project_id' => $project->id, |
|
|
'project_id' => $project->id, |
|
|
|
|
|
'target_start_date' => '2017-04-04', |
|
|
|
|
|
'target_end_date' => '2017-07-07', |
|
|
]); |
|
|
]); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -70,6 +72,10 @@ class ManageJobsTest extends TestCase |
|
|
'price' => 33333, |
|
|
'price' => 33333, |
|
|
'worker_id' => $users[2]->id, |
|
|
'worker_id' => $users[2]->id, |
|
|
'type_id' => 2, |
|
|
'type_id' => 2, |
|
|
|
|
|
'target_start_date' => '2017-04-04', |
|
|
|
|
|
'target_end_date' => '2017-07-07', |
|
|
|
|
|
'actual_start_date' => '2017-04-04', |
|
|
|
|
|
'actual_end_date' => '2017-07-07', |
|
|
]); |
|
|
]); |
|
|
|
|
|
|
|
|
$this->seePageIs(route('jobs.show', $job->id)); |
|
|
$this->seePageIs(route('jobs.show', $job->id)); |
|
|
@ -82,6 +88,10 @@ class ManageJobsTest extends TestCase |
|
|
'worker_id' => $users[2]->id, |
|
|
'worker_id' => $users[2]->id, |
|
|
'project_id' => $project->id, |
|
|
'project_id' => $project->id, |
|
|
'type_id' => 2, |
|
|
'type_id' => 2, |
|
|
|
|
|
'target_start_date' => '2017-04-04', |
|
|
|
|
|
'target_end_date' => '2017-07-07', |
|
|
|
|
|
'actual_start_date' => '2017-04-04', |
|
|
|
|
|
'actual_end_date' => '2017-07-07', |
|
|
]); |
|
|
]); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|