mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 10:16:49 +00:00
Improve test coverage.
This commit is contained in:
@@ -39,8 +39,8 @@ class PrependDescriptionTest extends TestCase
|
||||
{
|
||||
// get journal, give fixed description
|
||||
$description = 'text' . $this->randomInt();
|
||||
$prepend = 'prepend' . random_int(1, 1234);
|
||||
$journal = TransactionJournal::inRandomOrder()->whereNull('deleted_at')->first();
|
||||
$prepend = 'prepend' . $this->randomInt();
|
||||
$journal = $this->getRandomWithdrawal();
|
||||
$journal->description = $description;
|
||||
$journal->save();
|
||||
|
||||
|
Reference in New Issue
Block a user