Skip to content

Commit f68d0d9

Browse files
committed
Updated Tests
1 parent cba2411 commit f68d0d9

File tree

2 files changed

+2
-0
lines changed
  • app/code/Magento/Backend/Test/Unit/Model/Dashboard
  • dev/tests/integration/testsuite/Magento/Backend/Block/Dashboard/Chart

2 files changed

+2
-0
lines changed

app/code/Magento/Backend/Test/Unit/Model/Dashboard/PeriodTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public function testGetDatePeriods()
3737
{
3838
$this->assertEquals(
3939
[
40+
Period::PERIOD_TODAY => (string)__('Today'),
4041
Period::PERIOD_24_HOURS => (string)__('Last 24 Hours'),
4142
Period::PERIOD_7_DAYS => (string)__('Last 7 Days'),
4243
Period::PERIOD_1_MONTH => (string)__('Current Month'),

dev/tests/integration/testsuite/Magento/Backend/Block/Dashboard/Chart/PeriodTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public function testChartPeriodOptions(): void
5252
{
5353
$html = $this->block->toHtml();
5454
$dropDownList = [
55+
__('Today'),
5556
__('Last 24 Hours'),
5657
__('Last 7 Days'),
5758
__('Current Month'),

0 commit comments

Comments
 (0)