Fake jobs can be configured and can reach the landing stage.

This commit is contained in:
James Cole
2018-04-29 20:01:03 +02:00
parent fa41d6df04
commit f027d71136
13 changed files with 1464 additions and 1180 deletions

View File

@@ -116,7 +116,7 @@ class ImportJobRepository implements ImportJobRepositoryInterface
*/
public function create(string $importProvider): ImportJob
{
$count = 0;
$count = 0;
$importProvider = strtolower($importProvider);
while ($count < 30) {
@@ -126,7 +126,7 @@ class ImportJobRepository implements ImportJobRepositoryInterface
$importJob = ImportJob::create(
[
'user_id' => $this->user->id,
'source' => $importProvider,
'provider' => $importProvider,
'file_type' => '',
'key' => Str::random(12),
'status' => 'new',