mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-02 20:25:28 +00:00
Improve test coverage.
This commit is contained in:
@@ -54,6 +54,7 @@ class BudgetControllerTest extends TestCase
|
||||
*/
|
||||
public function testGeneral(): void
|
||||
{
|
||||
$this->mockDefaultSession();
|
||||
$return = [];
|
||||
$helper = $this->mock(BudgetReportHelperInterface::class);
|
||||
$fiscalHelper = $this->mock(FiscalHelperInterface::class);
|
||||
@@ -72,6 +73,7 @@ class BudgetControllerTest extends TestCase
|
||||
*/
|
||||
public function testPeriod(): void
|
||||
{
|
||||
$this->mockDefaultSession();
|
||||
$first = [1 => ['entries' => ['1', '1']]];
|
||||
$second = ['entries' => ['1', '1']];
|
||||
$repository = $this->mock(BudgetRepositoryInterface::class);
|
||||
|
||||
Reference in New Issue
Block a user