Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 12a8ffe

Browse files
committed
MAGETWO-83138: [2.3.0] Order status doesn't change in order grid
1 parent f0a69d1 commit 12a8ffe

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

app/code/Magento/Sales/Test/Unit/Model/ResourceModel/Provider/NotSyncedDataProviderTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
use Magento\Sales\Model\ResourceModel\Provider\NotSyncedDataProviderInterface;
1111
use PHPUnit_Framework_MockObject_MockObject as MockObject;
1212

13+
/**
14+
* Class for testing not synchronized DataProvider.
15+
*
16+
*/
1317
class NotSyncedDataProviderTest extends \PHPUnit\Framework\TestCase
1418
{
1519
public function testGetIdsEmpty()

dev/tests/integration/testsuite/Magento/Sales/Model/GridAsyncInsertTest.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
use Magento\TestFramework\Helper\Bootstrap;
1717
use Magento\TestFramework\ObjectManager;
1818

19+
/**
20+
* Class for testing asynchronous inserts into grid.
21+
*
22+
*/
1923
class GridAsyncInsertTest extends \PHPUnit\Framework\TestCase
2024
{
2125
/**
@@ -56,7 +60,7 @@ protected function setUp()
5660
$this->gridAsyncInsert = $this->objectManager->create(
5761
GridAsyncInsert::class,
5862
[
59-
'entityGrid' => $this->grid
63+
'entityGrid' => $this->grid,
6064
]
6165
);
6266
}
@@ -66,6 +70,7 @@ protected function setUp()
6670
*
6771
* @magentoConfigFixture default/dev/grid/async_indexing 1
6872
* @magentoDataFixture Magento/Sales/_files/order.php
73+
* @return void
6974
*/
7075
public function testExecuteAsyncUpdateOrderGrid()
7176
{
@@ -123,6 +128,7 @@ private function getGridRow(int $entityId) : array
123128
* Perform assertions for updating grid test.
124129
*
125130
* @param OrderInterface $order
131+
* @return void
126132
*/
127133
private function performUpdateAssertions(OrderInterface $order)
128134
{

0 commit comments

Comments
 (0)