File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
tests/unit/Mage/Adminhtml/Helper/Dashboard Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -57,13 +57,13 @@ public function testCountStores(): void
57
57
public function testGetDatePeriods (): void
58
58
{
59
59
$ expectedResult = [
60
- '24h ' => $ this -> subject ->__ ('Last 24 Hours ' ),
61
- '7d ' => $ this -> subject ->__ ('Last 7 Days ' ),
62
- '1m ' => $ this -> subject ->__ ('Current Month ' ),
63
- '3m ' => $ this -> subject ->__ ('Last 3 Months ' ),
64
- '6m ' => $ this -> subject ->__ ('Last 6 Months ' ),
65
- '1y ' => $ this -> subject ->__ ('YTD ' ),
66
- '2y ' => $ this -> subject ->__ ('2YTD ' ),
60
+ '24h ' => self :: $ subject ->__ ('Last 24 Hours ' ),
61
+ '7d ' => self :: $ subject ->__ ('Last 7 Days ' ),
62
+ '1m ' => self :: $ subject ->__ ('Current Month ' ),
63
+ '3m ' => self :: $ subject ->__ ('Last 3 Months ' ),
64
+ '6m ' => self :: $ subject ->__ ('Last 6 Months ' ),
65
+ '1y ' => self :: $ subject ->__ ('YTD ' ),
66
+ '2y ' => self :: $ subject ->__ ('2YTD ' ),
67
67
];
68
68
static ::assertSame ($ expectedResult , self ::$ subject ->getDatePeriods ());
69
69
}
You can’t perform that action at this time.
0 commit comments