Skip to content

Commit c5feedb

Browse files
committed
MAGETWO-47252: Some data is being exported as IDs, not names
- Fixed failed static tests
1 parent bea3b8c commit c5feedb

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

app/code/Magento/Customer/Model/ResourceModel/Grid/Collection.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414

1515
class Collection extends \Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult
1616
{
17+
/**
18+
* @inheritdoc
19+
*/
1720
protected $document = Document::class;
1821

1922
/**

app/code/Magento/Customer/Test/Unit/Ui/Component/DataProvider/DocumentTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020

2121
/**
2222
* Class DocumentTest
23+
*
24+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2325
*/
2426
class DocumentTest extends \PHPUnit_Framework_TestCase
2527
{

0 commit comments

Comments
 (0)