Beispiel #1
0
 /**
  * @testdox A Job can be marked as complete with no date or any other metadata supplied.
  * @test
  */
 public function manualCompletion()
 {
     $type = new \App\Model\JobType();
     $type->save();
     $jobList = new JobList();
     $jobList->type_id = $type->id;
     $jobList->save();
     // One incomplete job
     $job = new Job();
     $job->job_list_id = $jobList->id;
     $job->save();
     $this->assertEquals('Incomplete', $job->status());
     //$job->resolution
 }