mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Test coverage.
This commit is contained in:
parent
de1bf42f94
commit
5c5849b219
@ -97,6 +97,9 @@ class AllModelsTest extends TestCase
|
||||
$tj->components()->save($budget);
|
||||
$tj->components()->save($category);
|
||||
$user->transactionjournals()->save($tj);
|
||||
$tj->user()->associate($user);
|
||||
|
||||
$this->assertEquals($tj->user_id, $user->id);
|
||||
|
||||
$this->assertCount(2, $tj->components()->get());
|
||||
$this->assertCount(1, $tj->budgets()->get());
|
||||
|
Loading…
Reference in New Issue
Block a user