Example #1
0
 /**
  * Test query scope of getUnhandledJob
  *
  * @return void
  */
 public function testScopeGetUnhandledJob()
 {
     $job = new JobInspect();
     $this->assertNull($job->getUnhandledJob()->first());
 }
Example #2
0
 /**
  * Update jobInspect status
  *
  * @param  JobInspect $job    []
  * @param  int     $status []
  * @return void
  */
 public function updateJob(JobInspect $job, $status)
 {
     $job->update(['status' => $status]);
 }