Release 2.28 (#5253)
* fix year in dashboard * make batch actions accessible via javascript * bump packages * remove BOM from CSV * rebuild assets * fix duplicated automated-email warning
This commit is contained in:
@@ -24,9 +24,6 @@ use PHPUnit\Framework\TestCase;
|
||||
*/
|
||||
class PaginatedWorkingTimeChartTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @return PaginatedWorkingTimeChart
|
||||
*/
|
||||
public function createSut(): PaginatedWorkingTimeChart
|
||||
{
|
||||
$repository = $this->createMock(TimesheetRepository::class);
|
||||
@@ -73,7 +70,7 @@ class PaginatedWorkingTimeChartTest extends TestCase
|
||||
$repository = $this->createMock(TimesheetRepository::class);
|
||||
|
||||
$expectedKeys = [
|
||||
'begin', 'end', 'thisMonth', 'lastWeekInYear', 'lastWeekInLastYear', 'day', 'week', 'month', 'year', 'financial', 'financialBegin'
|
||||
'begin', 'end', 'dateYear', 'thisMonth', 'lastWeekInYear', 'lastWeekInLastYear', 'day', 'week', 'month', 'year', 'financial', 'financialBegin'
|
||||
];
|
||||
|
||||
$configuration = SystemConfigurationFactory::createStub(['company' => ['financial_year' => null]]);
|
||||
@@ -101,7 +98,7 @@ class PaginatedWorkingTimeChartTest extends TestCase
|
||||
$repository = $this->createMock(TimesheetRepository::class);
|
||||
|
||||
$expectedKeys = [
|
||||
'begin', 'end', 'thisMonth', 'lastWeekInYear', 'lastWeekInLastYear', 'day', 'week', 'month', 'year', 'financial', 'financialBegin'
|
||||
'begin', 'end', 'dateYear', 'thisMonth', 'lastWeekInYear', 'lastWeekInLastYear', 'day', 'week', 'month', 'year', 'financial', 'financialBegin'
|
||||
];
|
||||
|
||||
$configuration = SystemConfigurationFactory::createStub(['company' => ['financial_year' => '2020-01-01']]);
|
||||
|
||||
Reference in New Issue
Block a user