Add test case for bill dates

This commit is contained in:
James Cole
2023-11-26 07:19:57 +01:00
parent 5e49e149b1
commit a6c355c7b8
8 changed files with 310 additions and 107 deletions

View File

@@ -28,7 +28,6 @@ namespace Tests\unit\Support\Calendar;
use FireflyIII\Exceptions\IntervalException;
use FireflyIII\Support\Calendar\Calculator;
use FireflyIII\Support\Calendar\Periodicity;
use Generator;
use PHPUnit\Framework\TestCase;
use Tests\unit\Support\Calendar\Periodicity\BimonthlyTest;
use Tests\unit\Support\Calendar\Periodicity\DailyTest;

View File

@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace Tests\unit\Support\Calendar\Periodicity;
use FireflyIII\Support\Calendar\Periodicity\Interval;
use Generator;
use PHPUnit\Framework\TestCase;
abstract class IntervalTestCase extends TestCase

View File

@@ -43,6 +43,9 @@ class NavigationEndOfPeriodTest extends TestCase
$this->navigation = new Navigation();
}
/**
* @return iterable
*/
public static function provideDates(): iterable
{
return [