mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-24 22:48:18 +00:00
Improve randomness in test data to prevent key collisions.
This commit is contained in:
@@ -209,7 +209,7 @@ class IndexControllerTest extends TestCase
|
||||
|
||||
$job = new ImportJob;
|
||||
$job->user_id = $this->user()->id;
|
||||
$job->key = 'dc_' . random_int(1, 1000);
|
||||
$job->key = 'dc_' . random_int(1, 10000);
|
||||
$job->status = 'ready_to_run';
|
||||
$job->stage = 'go-for-import';
|
||||
$job->provider = 'file';
|
||||
|
Reference in New Issue
Block a user