Progress for Spectre import.

This commit is contained in:
James Cole
2017-12-28 18:38:59 +01:00
parent 0977d8d631
commit a10672a683
19 changed files with 272 additions and 1379 deletions

View File

@@ -127,6 +127,7 @@ class ImportJob extends Model
public function change(string $status): void
{
if (in_array($status, $this->validStatus)) {
Log::debug(sprintf('Job status set (in model) to "%s"', $status));
$this->status = $status;
$this->save();
@@ -169,6 +170,7 @@ class ImportJob extends Model
/**
* @codeCoverageIgnore
*
* @param $value
*/
public function setConfigurationAttribute($value)
@@ -178,6 +180,7 @@ class ImportJob extends Model
/**
* @codeCoverageIgnore
*
* @param $value
*/
public function setExtendedStatusAttribute($value)