mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Improve tests for transaction rules.
This commit is contained in:
@@ -41,7 +41,7 @@ class ClearCategoryTest extends TestCase
|
||||
// associate budget with journal:
|
||||
$journal = TransactionJournal::inRandomOrder()->whereNull('deleted_at')->first();
|
||||
$category = $journal->user->categories()->first();
|
||||
$journal->budgets()->save($category);
|
||||
$journal->categories()->save($category);
|
||||
$this->assertGreaterThan(0, $journal->categories()->count());
|
||||
|
||||
// fire the action:
|
||||
|
Reference in New Issue
Block a user