diff --git a/app/code/Magento/Sales/Test/Unit/Ui/Component/Listing/Column/ViewActionTest.php b/app/code/Magento/Sales/Test/Unit/Ui/Component/Listing/Column/ViewActionTest.php index bf6e0ee16bd6c..660ee18828293 100644 --- a/app/code/Magento/Sales/Test/Unit/Ui/Component/Listing/Column/ViewActionTest.php +++ b/app/code/Magento/Sales/Test/Unit/Ui/Component/Listing/Column/ViewActionTest.php @@ -68,7 +68,7 @@ public function testPrepareDataSource( 'items' => $dataSourceItems ] ]; - $this->model->prepareDataSource($dataSource); + $dataSource = $this->model->prepareDataSource($dataSource); $this->assertEquals($expectedDataSourceItems, $dataSource['data']['items']); }