Improve test coverage and quality

This commit is contained in:
James Cole
2019-06-16 13:16:46 +02:00
parent 1ce1a84c9e
commit 72c0d7a874
34 changed files with 3211 additions and 2524 deletions

View File

@@ -129,7 +129,7 @@ class CreateCSVImportTest extends TestCase
$importJob = ImportJob::create(
[
'key' => 'key-' . random_int(1, 100000),
'key' => 'key-' . $this->randomInt(),
'user_id' => 1,
'file_type' => 'csv',
'status' => 'new',
@@ -203,7 +203,7 @@ class CreateCSVImportTest extends TestCase
$importJob = ImportJob::create(
[
'key' => 'key-' . random_int(1, 100000),
'key' => 'key-' . $this->randomInt(),
'user_id' => 1,
'file_type' => 'csv',
'status' => 'new',