From 260306a3c14794202a6e8ce331065d1f85f20bfb Mon Sep 17 00:00:00 2001 From: Maxim Medinskiy Date: Fri, 25 Sep 2015 14:36:14 +0300 Subject: [PATCH] MAGETWO-43236: [GITHUB] use return value instead of reference parameter #1818 --- .../Test/Unit/Ui/Component/Listing/Column/ViewActionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']); }