@@ -56,7 +56,7 @@ class ColumnFactoryTest extends TestCase
56
56
/**
57
57
* @var TimezoneInterface|MockObject
58
58
*/
59
- private $ timeZone ;
59
+ private $ timezone ;
60
60
61
61
/**
62
62
* @inheritdoc
@@ -80,13 +80,13 @@ protected function setUp(): void
80
80
$ this ->column = $ this ->getMockForAbstractClass (ColumnInterface::class);
81
81
$ this ->uiComponentFactory ->method ('create ' )
82
82
->willReturn ($ this ->column );
83
- $ this ->timeZone = $ this ->createMock (TimezoneInterface::class);
83
+ $ this ->timezone = $ this ->createMock (TimezoneInterface::class);
84
84
85
85
$ this ->columnFactory = $ this ->objectManager ->getObject (
86
86
ColumnFactory::class,
87
87
[
88
88
'componentFactory ' => $ this ->uiComponentFactory ,
89
- 'timezone ' => $ this ->timeZone ,
89
+ 'timezone ' => $ this ->timezone ,
90
90
]
91
91
);
92
92
}
@@ -203,7 +203,7 @@ public function testCreateDateColumn(
203
203
'visible ' => true ,
204
204
'filter ' => 'dateRange ' ,
205
205
'component ' => 'Magento_Ui/js/grid/columns/date ' ,
206
- 'timeZone ' => $ expectedTimezone ,
206
+ 'timezone ' => $ expectedTimezone ,
207
207
'dateFormat ' => $ expectedDateFormat ,
208
208
'options ' => [
209
209
'showsTime ' => $ showsTime
@@ -224,15 +224,15 @@ public function testCreateDateColumn(
224
224
$ this ->attribute ->method ('getFrontendInput ' )
225
225
->willReturn ($ frontendInput );
226
226
227
- $ this ->timeZone ->method ('getDateFormat ' )
227
+ $ this ->timezone ->method ('getDateFormat ' )
228
228
->with (\IntlDateFormatter::MEDIUM )
229
229
->willReturn ($ dateFormat );
230
- $ this ->timeZone ->method ('getDateTimeFormat ' )
230
+ $ this ->timezone ->method ('getDateTimeFormat ' )
231
231
->with (\IntlDateFormatter::MEDIUM )
232
232
->willReturn ($ dateTimeFormat );
233
- $ this ->timeZone ->method ('getDefaultTimezone ' )
233
+ $ this ->timezone ->method ('getDefaultTimezone ' )
234
234
->willReturn ($ defaultTimezone );
235
- $ this ->timeZone ->method ('getConfigTimezone ' )
235
+ $ this ->timezone ->method ('getConfigTimezone ' )
236
236
->willReturn ($ configTimezone );
237
237
238
238
$ this ->uiComponentFactory ->expects ($ this ->once ())
0 commit comments