mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Improve test coverage.
This commit is contained in:
@@ -69,7 +69,11 @@ class MigrateJournalNotesTest extends TestCase
|
||||
FireflyConfig::shouldReceive('set')->withArgs(['4780_migrate_notes', true]);
|
||||
|
||||
$journal = $this->getRandomWithdrawal();
|
||||
$meta = TransactionJournalMeta::create(
|
||||
|
||||
// delete any notes the journal may have already:
|
||||
$journal->notes()->forceDelete();
|
||||
|
||||
$meta = TransactionJournalMeta::create(
|
||||
[
|
||||
'transaction_journal_id' => $journal->id,
|
||||
'name' => 'notes',
|
||||
|
Reference in New Issue
Block a user