Skip to content

Commit 187e880

Browse files
committed
MAGETWO-73039: Orders export to csv shows inconsistent date format
1 parent e964356 commit 187e880

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/code/Magento/Ui/Test/Unit/Model/Export/MetadataProviderTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ protected function prepareColumns(
136136
string $columnLabel,
137137
string $columnActionsName = 'actions_name',
138138
string $columnActionsLabel = 'actions_label'
139-
): UiComponentInterface {
139+
) {
140140
/** @var UiComponentInterface|\PHPUnit_Framework_MockObject_MockObject $component */
141141
$component = $this->getMockBuilder(\Magento\Framework\View\Element\UiComponentInterface::class)
142142
->getMockForAbstractClass();
@@ -198,6 +198,7 @@ protected function prepareColumns(
198198
* @param array $fields
199199
* @param array $options
200200
* @param array $expected
201+
* @return void
201202
* @dataProvider getRowDataProvider
202203
*/
203204
public function testGetRowData(string $key, array $fields, array $options, array $expected)
@@ -269,6 +270,7 @@ public function getRowDataProvider(): array
269270
* @param string $filter
270271
* @param array $options
271272
* @param array $expected
273+
* @return void
272274
* @dataProvider getOptionsDataProvider
273275
*/
274276
public function testGetOptions(string $filter, array $options, array $expected)
@@ -388,6 +390,7 @@ public function getOptionsDataProvider(): array
388390
*
389391
* @param string $fieldValue
390392
* @param string $expected
393+
* @return void
391394
* @dataProvider convertDateProvider
392395
* @covers \Magento\Ui\Model\Export\MetadataProvider::convertDate()
393396
*/

0 commit comments

Comments
 (0)