mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 07:38:29 +00:00
Improve test coverage.
This commit is contained in:
@@ -69,7 +69,7 @@ class SummaryControllerTest extends TestCase
|
||||
$netWorth = $this->mock(NetWorthInterface::class);
|
||||
|
||||
// data
|
||||
$euro = TransactionCurrency::find(1);
|
||||
$euro = $this->getEuro();
|
||||
$budget = $this->user()->budgets()->inRandomOrder()->first();
|
||||
$account = $this->getRandomAsset();
|
||||
$journals = [
|
||||
@@ -162,7 +162,7 @@ class SummaryControllerTest extends TestCase
|
||||
$date->addWeek();
|
||||
|
||||
// data
|
||||
$euro = TransactionCurrency::find(1);
|
||||
$euro = $this->getEuro();
|
||||
$budget = $this->user()->budgets()->inRandomOrder()->first();
|
||||
$account = $this->getRandomAsset();
|
||||
$journals = [
|
||||
|
||||
Reference in New Issue
Block a user