mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-16 22:58:09 +00:00
Improve test coverage.
This commit is contained in:
@@ -59,7 +59,7 @@ class ConvertToDepositTest extends TestCase
|
||||
|
||||
return;
|
||||
$revenue = $this->getRandomRevenue();
|
||||
$name = 'Random revenue #' . random_int(1, 10000);
|
||||
$name = 'Random revenue #' . $this->randomInt();
|
||||
$journal = $this->getRandomTransfer();
|
||||
|
||||
// journal is a transfer:
|
||||
@@ -98,7 +98,7 @@ class ConvertToDepositTest extends TestCase
|
||||
|
||||
return;
|
||||
$revenue = $this->getRandomRevenue();
|
||||
$name = 'Random revenue #' . random_int(1, 10000);
|
||||
$name = 'Random revenue #' . $this->randomInt();
|
||||
$journal = $this->getRandomWithdrawal();
|
||||
|
||||
// journal is a withdrawal:
|
||||
|
||||
Reference in New Issue
Block a user