mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-11 04:44:46 +00:00
Refactored a lot of tests.
This commit is contained in:
@@ -113,6 +113,7 @@ class BudgetReportControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* TODO something in this method makes it return a 404.
|
||||
* @covers \FireflyIII\Http\Controllers\Chart\BudgetReportController
|
||||
*/
|
||||
public function testMainChart(): void
|
||||
|
||||
@@ -187,6 +187,8 @@ class TagReportControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* TODO something in this test sometimes gives a 404 but not sure yet what it is.
|
||||
*
|
||||
* @covers \FireflyIII\Http\Controllers\Chart\TagReportController
|
||||
*/
|
||||
public function testMainChart(): void
|
||||
@@ -198,7 +200,7 @@ class TagReportControllerTest extends TestCase
|
||||
$fiscalHelper = $this->mock(FiscalHelperInterface::class);
|
||||
|
||||
$withdrawal = $this->getRandomWithdrawalAsArray();
|
||||
$tag = $this->user()->tags()->inRandomOrder()->first();
|
||||
$tag = $this->user()->tags()->where('tag','Expensive')->first();
|
||||
$date = new Carbon;
|
||||
$false = new Preference;
|
||||
$false->data = false;
|
||||
|
||||
Reference in New Issue
Block a user