mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-19 10:53:31 +00:00
Improve test coverage.
This commit is contained in:
@@ -51,7 +51,7 @@ class ClearNotesTest extends TestCase
|
||||
public function testAct(): void
|
||||
{
|
||||
// give journal a note:
|
||||
$journal = TransactionJournal::inRandomOrder()->whereNull('deleted_at')->first();
|
||||
$journal = $this->getRandomWithdrawal();
|
||||
$note = $journal->notes()->first();
|
||||
if (null === $note) {
|
||||
$note = new Note;
|
||||
|
Reference in New Issue
Block a user